mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
TW-1947: "urgency.over" filter seems to not work correct
- Thanks to Marc Richter.
This commit is contained in:
parent
c242730b6d
commit
751ae17b22
4 changed files with 35 additions and 7 deletions
|
@ -269,6 +269,16 @@ class TestOperatorsQuantity(TestCase):
|
|||
self.assertNotIn("four", out)
|
||||
self.assertNotIn("five", out)
|
||||
|
||||
def test_urgency_over(self):
|
||||
"""operator urgency.over:10.0"""
|
||||
code, out, err = self.t("ls urgency.over:10.0")
|
||||
|
||||
self.assertIn("one", out)
|
||||
self.assertIn("two", out)
|
||||
self.assertNotIn("three", out)
|
||||
self.assertNotIn("four", out)
|
||||
self.assertNotIn("five", out)
|
||||
|
||||
# < operator #
|
||||
|
||||
def test_due_before(self):
|
||||
|
@ -331,6 +341,16 @@ class TestOperatorsQuantity(TestCase):
|
|||
self.assertIn("four", out)
|
||||
self.assertIn("five", out)
|
||||
|
||||
def test_urgency_under(self):
|
||||
"""operator urgency.under:10.0"""
|
||||
code, out, err = self.t("ls urgency.under:10.0")
|
||||
|
||||
self.assertNotIn("one", out)
|
||||
self.assertNotIn("two", out)
|
||||
self.assertIn("three", out)
|
||||
self.assertIn("four", out)
|
||||
self.assertIn("five", out)
|
||||
|
||||
# >= operator #
|
||||
|
||||
def test_due_greater_equal(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue