Tests: Code cleanup

This commit is contained in:
Paul Beckingham 2016-02-01 00:31:06 -05:00
parent 6a0960174f
commit 264fd264e9

View file

@ -206,8 +206,7 @@ class TestUdaNumeric(TestBaseUda):
"""Add tasks with an invalid UDA numeric""" """Add tasks with an invalid UDA numeric"""
code, out, err = self.t.runError("add bad extra:bad_numeric") code, out, err = self.t.runError("add bad extra:bad_numeric")
self.assertNotIn("Created task", out) self.assertNotIn("Created task", out)
self.assertIn("The value 'bad_numeric' is not a valid numeric value", self.assertIn("The value 'bad_numeric' is not a valid numeric value", err)
err)
class TestUdaString(TestBaseUda): class TestUdaString(TestBaseUda):