mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 04:13:07 +02:00
Test: Added empty filter duplicate test
This commit is contained in:
parent
50a052990c
commit
e4b2750656
1 changed files with 6 additions and 0 deletions
|
@ -57,6 +57,12 @@ class TestDuplication(TestCase):
|
||||||
self.assertIn('"priority":"H"', out)
|
self.assertIn('"priority":"H"', out)
|
||||||
self.assertIn('"tags":["tag"]', 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):
|
class TestDuplication2(TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
"""Executed before each test in the class"""
|
"""Executed before each test in the class"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue