Skip to content
Browse files

tests: Fix incorrect assert method

  • Loading branch information...
tbabej authored and pbeckingham committed Jan 2, 2019
1 parent 9e7f259 commit 74949bb0498372e1ebed95a8063e440e809df4ae
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 74949bb

Please sign in to comment.
You can’t perform that action at this time.