improving test

This commit is contained in:
Hossein Shafagh 2020-10-16 09:49:26 -07:00
parent 6aad37e1f9
commit 7d8eb1c61e

View File

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