mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Test: Added '_unique id' test
This commit is contained in:
parent
ab025b27ff
commit
aabd179ffc
1 changed files with 9 additions and 0 deletions
|
@ -81,6 +81,15 @@ class TestUnique(TestCase):
|
|||
self.assertIn("four", out)
|
||||
self.assertIn("five", out)
|
||||
|
||||
def test_unique_id(self):
|
||||
"""Verify that unique id values are correctly counted"""
|
||||
code, out, err = self.t("_unique id")
|
||||
self.assertIn("1", out)
|
||||
self.assertIn("2", out)
|
||||
self.assertIn("3", out)
|
||||
self.assertNotIn("4", out)
|
||||
self.assertNotIn("5", out)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from simpletap import TAPTestRunner
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue