tests: Fix incorrect assert method
This commit is contained in:
committed by
Paul Beckingham
parent
9e7f259d03
commit
74949bb049
@@ -174,7 +174,7 @@ class TestUdaDuration(TestBaseUda):
|
||||
|
||||
# Ensure 'extra' is stored in original form.
|
||||
code, out, err = self.t("1 export")
|
||||
self.assertRaisesRegexp(out, '"extra":"P1D"')
|
||||
self.assertRegexpMatches(out, '"extra":"P1D"')
|
||||
|
||||
def test_uda_bad_duration_task(self):
|
||||
"""Add tasks with an invalid UDA duration"""
|
||||
|
||||
Reference in New Issue
Block a user