Test: Added bad filter info test

This commit is contained in:
Paul Beckingham 2015-10-28 18:28:03 -04:00
parent 778ba44beb
commit c8cba22a3d

View file

@ -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")