mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Tests: Added UNTIL tests
This commit is contained in:
parent
91b45925e9
commit
9078ce5976
1 changed files with 8 additions and 0 deletions
|
@ -377,6 +377,14 @@ class TestVirtualTags(TestCase):
|
|||
code, out, err = self.t("-SCHEDULED all")
|
||||
self.assertNotIn("is_scheduled", 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