Test: Added empty filter duplicate test

This commit is contained in:
Paul Beckingham 2015-07-19 20:48:39 -04:00
parent 50a052990c
commit e4b2750656

View file

@ -57,6 +57,12 @@ class TestDuplication(TestCase):
self.assertIn('"priority":"H"', out)
self.assertIn('"tags":["tag"]', out)
def test_duplication_with_no_tasks(self):
"""Verify an empty filter generates an error"""
code, out, err = self.t.runError("999 duplicate")
self.assertIn("No tasks specified.", err)
class TestDuplication2(TestCase):
def setUp(self):
"""Executed before each test in the class"""