mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
tests: Use updated unittest method
This commit is contained in:
parent
407d66d681
commit
02db131fa1
50 changed files with 315 additions and 315 deletions
|
@ -64,8 +64,8 @@ class TestDue(TestCase):
|
|||
def test_due(self):
|
||||
"""due tasks displayed correctly"""
|
||||
code, out, err = self.t("list")
|
||||
self.assertRegexpMatches(out, "\033\[31m.+{0}.+\033\[0m".format(self.just))
|
||||
self.assertRegexpMatches(out, "\s+{0}\s+".format(self.almost))
|
||||
self.assertRegex(out, "\033\[31m.+{0}.+\033\[0m".format(self.just))
|
||||
self.assertRegex(out, "\s+{0}\s+".format(self.almost))
|
||||
|
||||
|
||||
class TestBug418(TestCase):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue