Remove subdir path from bucket url (#1117)

This commit is contained in:
Matteo Destro 2023-10-17 19:13:20 +02:00 committed by GitHub
parent 8a834af777
commit a8ec1076da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -894,7 +894,7 @@ class _GoogleCloudStorageDriver(_Driver):
obj.download_to_filename(str(p))
def test_upload(self, test_path, config, **_):
bucket_url = str(furl(scheme=self.scheme, netloc=config.bucket, path=config.subdir))
bucket_url = str(furl(scheme=self.scheme, netloc=config.bucket))
bucket = self.get_container(container_name=bucket_url, config=config).bucket
test_obj = bucket