Tests: Added UNTIL tests

This commit is contained in:
Paul Beckingham 2017-03-23 22:48:58 -04:00
parent 322ff9e653
commit 92ededda71

View file

@ -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):