tests: Use updated unittest method
This commit is contained in:
committed by
Paul Beckingham
parent
407d66d681
commit
02db131fa1
@@ -77,7 +77,7 @@ class TestExportCommand(TestCase):
|
||||
if expected_value is not None:
|
||||
if regexp:
|
||||
# Match to pattern if checking with regexp
|
||||
self.assertRegexpMatches(value, expected_value)
|
||||
self.assertRegex(value, expected_value)
|
||||
else:
|
||||
# Equality match if checking with string
|
||||
self.assertEqual(value, expected_value)
|
||||
|
||||
Reference in New Issue
Block a user