mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Tests: Added TEMPLATE tests
This commit is contained in:
parent
0de91e68c7
commit
b0636bda2f
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_TEMPLATE(self):
|
||||
"""Verify 'TEMPLATE' appears when expected"""
|
||||
code, out, err = self.t("+TEMPLATE status:recurring all")
|
||||
self.assertIn("is_recurring", out)
|
||||
|
||||
code, out, err = self.t.runError("-TEMPLATE status:recurring all")
|
||||
self.assertNotIn("is_recurring", out)
|
||||
|
||||
|
||||
class TestVirtualTagUDA(TestCase):
|
||||
def setUp(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue