mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 19:03:07 +02:00
Tests: Added UNTIL tests
This commit is contained in:
parent
322ff9e653
commit
92ededda71
1 changed files with 9 additions and 0 deletions
|
|
@ -393,6 +393,15 @@ class TestVirtualTags(TestCase):
|
|||
code, out, err = self.t("-INSTANCE status:pending all")
|
||||
self.assertNotIn("is_recurring", out)
|
||||
|
||||
def test_virtual_tag_UNTIL(self):
|
||||
"""Verify 'UNTIL' appears when expected"""
|
||||
self.t("add has_until until:eonm")
|
||||
code, out, err = self.t("+UNTIL all")
|
||||
self.assertIn("has_until", out)
|
||||
|
||||
code, out, err = self.t("-UNTIL all")
|
||||
self.assertNotIn("has_until", out)
|
||||
|
||||
|
||||
class TestVirtualTagUDA(TestCase):
|
||||
def setUp(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue