mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Test: Added bad filter info test
This commit is contained in:
parent
778ba44beb
commit
c8cba22a3d
1 changed files with 5 additions and 0 deletions
|
@ -44,6 +44,11 @@ class TestInfoCommand(TestCase):
|
||||||
"""Executed before each test in the class"""
|
"""Executed before each test in the class"""
|
||||||
self.t = Task()
|
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):
|
def test_info_display(self):
|
||||||
"""Verify info command shows everything in the task"""
|
"""Verify info command shows everything in the task"""
|
||||||
self.t.config("uda.u_one.type", "date")
|
self.t.config("uda.u_one.type", "date")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue