mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 09:53:08 +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
|
@ -120,13 +120,13 @@ class TestBug956(TestCase):
|
|||
def test_uuids_header(self):
|
||||
"""956: Verify 'uuids' does not print a header"""
|
||||
code, out, err = self.t("rc.verbose:nothing uuids")
|
||||
self.assertRegexpMatches(out, "[0-9a-f-]*\n")
|
||||
self.assertRegex(out, "[0-9a-f-]*\n")
|
||||
self.assertNotIn("TASKRC", out)
|
||||
|
||||
def test_uuids_helper_header(self):
|
||||
"""956: Verify '_uuids' does not print a header"""
|
||||
code, out, err = self.t("rc.verbose:nothing _uuids")
|
||||
self.assertRegexpMatches(out, "[0-9a-f-]*\n")
|
||||
self.assertRegex(out, "[0-9a-f-]*\n")
|
||||
self.assertNotIn("TASKRC", out)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue