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

@ -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)