mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Test: Added dulicate verbosity test
This commit is contained in:
parent
e4b2750656
commit
e3941b920a
1 changed files with 5 additions and 0 deletions
|
@ -62,6 +62,11 @@ class TestDuplication(TestCase):
|
||||||
code, out, err = self.t.runError("999 duplicate")
|
code, out, err = self.t.runError("999 duplicate")
|
||||||
self.assertIn("No tasks specified.", err)
|
self.assertIn("No tasks specified.", err)
|
||||||
|
|
||||||
|
def test_duplication_showing_uuid(self):
|
||||||
|
"""Verify duplicate can show uuid"""
|
||||||
|
code, out, err = self.t("1 duplicate rc.verbose:new-uuid")
|
||||||
|
self.assertRegexpMatches(out, "[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}")
|
||||||
|
|
||||||
|
|
||||||
class TestDuplication2(TestCase):
|
class TestDuplication2(TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue