Permalink
Browse files

tests: Fix incorrect assert method

  • Loading branch information...
tbabej committed Jan 2, 2019
1 parent 07c21e7 commit cd52782d2f40288b65faeb31acbf4ff98432dea3
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/uda.t
@@ -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"""

0 comments on commit cd52782

Please sign in to comment.