mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 00:43:07 +02:00
Tests: Added WAITING tests
This commit is contained in:
parent
9078ce5976
commit
71ca9e8c4c
1 changed files with 9 additions and 0 deletions
|
@ -386,6 +386,15 @@ class TestVirtualTags(TestCase):
|
|||
code, out, err = self.t("-UNTIL all")
|
||||
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):
|
||||
def setUp(self):
|
||||
"""Executed before each test in the class"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue