diff --git a/samples/api-client/manager/manager_test.py b/samples/api-client/manager/manager_test.py index 20bac093..7291e1f3 100644 --- a/samples/api-client/manager/manager_test.py +++ b/samples/api-client/manager/manager_test.py @@ -41,7 +41,7 @@ pubsub_topic = 'projects/{}/topics/{}'.format(project_id, topic_id) # This format is used in the `clean_up_registries()` below. -registry_id = 'test-registry-{}-{}'.format(uuid.uuid1(), int(time.time())) +registry_id = 'test-registry-{}-{}'.format(uuid.uuid4().hex, int(time.time())) @pytest.fixture(scope="session", autouse=True)