Skip to content

Commit

Permalink
tests: Fix incorrect assert method
Browse files Browse the repository at this point in the history
  • Loading branch information
tbabej committed Jan 2, 2019
1 parent 07c21e7 commit cd52782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/uda.t
Expand Up @@ -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"""
Expand Down

0 comments on commit cd52782

Please sign in to comment.