tests: Use updated unittest methods
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user