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

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