tests: Use updated unittest method

This commit is contained in:
Tomas Babej 2020-11-20 23:59:56 -05:00 committed by Paul Beckingham
parent 407d66d681
commit 02db131fa1
50 changed files with 315 additions and 315 deletions

View file

@ -58,7 +58,7 @@ class TestCalendarCommandLine(TestCase):
def test_basic_command_color(self):
"""Verify 'calendar rc._forcecolor:on' does not fail"""
code, out, err = self.t("calendar rc._forcecolor:on")
self.assertRegexpMatches(out, "Su.+Mo.+Tu.+We.+Th.+Fr.+Sa")
self.assertRegex(out, "Su.+Mo.+Tu.+We.+Th.+Fr.+Sa")
def test_basic_command_details(self):
"""Verify 'calendar rc.calendar.details:full rc.calendar.details.report:list' does not fail"""