Tests: Added UNTIL tests
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user