mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 04:13:07 +02:00
Tests: Added WAITING tests
This commit is contained in:
parent
92ededda71
commit
8113eae006
1 changed files with 9 additions and 0 deletions
|
@ -402,6 +402,15 @@ class TestVirtualTags(TestCase):
|
||||||
code, out, err = self.t("-UNTIL all")
|
code, out, err = self.t("-UNTIL all")
|
||||||
self.assertNotIn("has_until", out)
|
self.assertNotIn("has_until", out)
|
||||||
|
|
||||||
|
def test_virtual_tag_WAITING(self):
|
||||||
|
"""Verify 'WAITING' appears when expected"""
|
||||||
|
self.t("add is_waiting wait:eonm")
|
||||||
|
code, out, err = self.t("+WAITING all")
|
||||||
|
self.assertIn("is_waiting", out)
|
||||||
|
|
||||||
|
code, out, err = self.t("-WAITING all")
|
||||||
|
self.assertNotIn("is_waiting", out)
|
||||||
|
|
||||||
|
|
||||||
class TestVirtualTagUDA(TestCase):
|
class TestVirtualTagUDA(TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue