mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
tests: Use updated unittest method
This commit is contained in:
parent
407d66d681
commit
02db131fa1
50 changed files with 315 additions and 315 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue