tests: Use updated unittest methods

This commit is contained in:
Tomas Babej
2020-11-21 12:39:03 -05:00
parent 720c561b75
commit 52c49169b4
50 changed files with 315 additions and 315 deletions

View File

@@ -109,7 +109,7 @@ class TestBug1006(TestCase):
expected = "Description +des\n"
errormsg = "Attribute not completed in description"
self.assertRegexpMatches(out, expected, msg=errormsg)
self.assertRegex(out, expected, msg=errormsg)
notexpected = "description"
self.assertNotIn(notexpected, out, msg=errormsg)