improving test

This commit is contained in:
Hossein Shafagh 2020-10-16 09:49:26 -07:00
parent 6aad37e1f9
commit 7d8eb1c61e
1 changed files with 3 additions and 3 deletions

View File

@ -9,16 +9,16 @@ def test_put_delete_s3_object(app):
bucket = "public-bucket" bucket = "public-bucket"
account = "123456789012" account = "123456789012"
path = "some_path/foo" path = "some-path/foo"
data = "dummy data"
s3_client = boto3.client('s3') s3_client = boto3.client('s3')
s3_client.create_bucket(Bucket=bucket) s3_client.create_bucket(Bucket=bucket)
data = "dummy data"
put(bucket_name=bucket, put(bucket_name=bucket,
prefix=path, prefix=path,
data=data, data=data,
encrypt=None, encrypt=False,
account_number=account) account_number=account)
response = get(bucket_name=bucket, prefix=path, account_number=account) response = get(bucket_name=bucket, prefix=path, account_number=account)