mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
tests: Fix incorrect assert method
This commit is contained in:
parent
07c21e79ad
commit
cd52782d2f
1 changed files with 1 additions and 1 deletions
|
@ -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"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue