From c8cba22a3d888ef11671a404a5a851297417c8bf Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Wed, 28 Oct 2015 18:28:03 -0400 Subject: [PATCH] Test: Added bad filter info test --- test/info.t | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/info.t b/test/info.t index 9aae70116..a6cae5197 100755 --- a/test/info.t +++ b/test/info.t @@ -44,6 +44,11 @@ class TestInfoCommand(TestCase): """Executed before each test in the class""" self.t = Task() + def test_missing_info(self): + """Verify bad filter yields error""" + code, out, err = self.t.runError("999 info") + self.assertIn("No matches.", err) + def test_info_display(self): """Verify info command shows everything in the task""" self.t.config("uda.u_one.type", "date")