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

@@ -62,8 +62,8 @@ class TestRecurrenceProblems(TestCase):
self.t("add foo due:today recur:yearly until:eom")
code, out, err = self.t("info 1")
self.assertNotRegexpMatches(out, "Until\s+\d{10}")
self.assertRegexpMatches(out, "Until\s+\d+\/\d+\/\d{4}")
self.assertNotRegex(out, "Until\s+\d{10}")
self.assertRegex(out, "Until\s+\d+\/\d+\/\d{4}")
if __name__ == "__main__":