diff --git a/test/duplicate.t b/test/duplicate.t index 783459606..0cfd19121 100755 --- a/test/duplicate.t +++ b/test/duplicate.t @@ -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):