diff --git a/videointelligence/samples/analyze/beta_snippets_test.py b/videointelligence/samples/analyze/beta_snippets_test.py index 09aa67c235a4..a0ac30ffbf8d 100644 --- a/videointelligence/samples/analyze/beta_snippets_test.py +++ b/videointelligence/samples/analyze/beta_snippets_test.py @@ -53,7 +53,7 @@ def video_path(tmpdir_factory): @pytest.fixture(scope="function") def bucket(): # Create a temporaty bucket to store annotation output. - bucket_name = str(uuid.uuid1()) + bucket_name = f'tmp-{uuid.uuid4().hex}' storage_client = storage.Client() bucket = storage_client.create_bucket(bucket_name)