mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Test: Added UUID urgency test
This commit is contained in:
parent
735608d5b9
commit
ab025b27ff
1 changed files with 9 additions and 0 deletions
|
@ -281,6 +281,15 @@ class TestUrgency(TestCase):
|
|||
self.assertIn("task 30 ", out)
|
||||
self.assertIn("task 40 ", out)
|
||||
|
||||
def test_urgency_uuid(self):
|
||||
"""Verify _urgency using UUID lookup"""
|
||||
code, out, err = self.t("_get 1.uuid")
|
||||
uuid = out.strip()
|
||||
|
||||
code, out, err = self.t(uuid + " _urgency")
|
||||
self.assertEqual("task 1 urgency 0\n", out)
|
||||
|
||||
|
||||
class TestBug837(TestCase):
|
||||
def setUp(self):
|
||||
"""Executed before each test in the class"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue