diff --git a/openstack_dashboard/test/integration_tests/helpers.py b/openstack_dashboard/test/integration_tests/helpers.py index 53fc12c79c..c176207a49 100644 --- a/openstack_dashboard/test/integration_tests/helpers.py +++ b/openstack_dashboard/test/integration_tests/helpers.py @@ -64,7 +64,7 @@ def gen_random_resource_name(resource="", timestamp=True): if timestamp: tstamp = time.strftime("%d-%m-%H-%M-%S") fields.append(tstamp) - fields.append(uuidutils.generate_uuid().replace("-", "")) + fields.append(uuidutils.generate_uuid(dashed=False)) return "_".join(fields)