Commit 6f29a307 authored by Elouan Martinet's avatar Elouan Martinet
Browse files

[testing] Fix moto call

parent 013754d1c3cb
Pipeline #25711 passed with stage
in 2 minutes and 7 seconds
...@@ -10,7 +10,7 @@ class S3StorageTestMixin(object): ...@@ -10,7 +10,7 @@ class S3StorageTestMixin(object):
def setUp(self): def setUp(self):
s3_mock = mock_s3() s3_mock = mock_s3()
s3_mock.start() s3_mock.start()
resource = boto3.resource('s3', region_name='somewhere') resource = boto3.resource('s3', region_name='us-east-1')
self.s3_bucket = resource.create_bucket(Bucket=self.s3_bucket) self.s3_bucket = resource.create_bucket(Bucket=self.s3_bucket)
patched_storage_s3_client = patch( patched_storage_s3_client = patch(
'cubicweb_s3storage.storages.S3Storage._s3_client', 'cubicweb_s3storage.storages.S3Storage._s3_client',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment