Test: Added dulicate verbosity test
This commit is contained in:
@@ -62,6 +62,11 @@ class TestDuplication(TestCase):
|
||||
code, out, err = self.t.runError("999 duplicate")
|
||||
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):
|
||||
def setUp(self):
|
||||
|
||||
Reference in New Issue
Block a user