mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Test: Added new-uuid verbosity test
This commit is contained in:
parent
92f79c682b
commit
325b01c381
1 changed files with 5 additions and 0 deletions
|
@ -55,6 +55,11 @@ class TestVerbosity(TestCase):
|
|||
code, out, err = self.t(("rc.verbose:nothing", "add", "Sample2"))
|
||||
self.assertNotRegexpMatches(out, r"Created task \d")
|
||||
|
||||
def test_verbosity_new_uuid(self):
|
||||
"""Verbosity new-uuid"""
|
||||
code, out, err = self.t(("rc.verbose:new-uuid", "add", "Sample1"))
|
||||
self.assertRegexpMatches(out, r"Created task [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}")
|
||||
|
||||
def test_verbosity_label(self):
|
||||
"""Verbosity label"""
|
||||
code, out, err = self.t(("rc.verbose:label", "ls"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue