adjusting the tests to the better naming
This commit is contained in:
parent
7bca42776b
commit
9c6856bcdd
|
@ -74,7 +74,7 @@ def test_upload_acme_token(app):
|
|||
options=additional_options)
|
||||
|
||||
response = get(bucket_name=bucket,
|
||||
prefix=prefix + token_name,
|
||||
prefixed_object_name=prefix + token_name,
|
||||
encrypt=False,
|
||||
account_number=account)
|
||||
|
||||
|
|
|
@ -24,18 +24,18 @@ def test_put_delete_s3_object(app):
|
|||
account_number=account,
|
||||
region=region)
|
||||
|
||||
response = get(bucket_name=bucket, prefix=path, account_number=account)
|
||||
response = get(bucket_name=bucket, prefixed_object_name=path, account_number=account)
|
||||
|
||||
# put data, and getting the same data
|
||||
assert (response == data)
|
||||
|
||||
response = get(bucket_name="wrong-bucket", prefix=path, account_number=account)
|
||||
response = get(bucket_name="wrong-bucket", prefixed_object_name=path, account_number=account)
|
||||
|
||||
# attempting to get thccle wrong data
|
||||
assert (response is None)
|
||||
|
||||
delete(bucket_name=bucket, prefix=path, account_number=account)
|
||||
response = get(bucket_name=bucket, prefix=path, account_number=account)
|
||||
delete(bucket_name=bucket, prefixed_object_name=path, account_number=account)
|
||||
response = get(bucket_name=bucket, prefixed_object_name=path, account_number=account)
|
||||
|
||||
# delete data, and getting the same data
|
||||
assert (response is None)
|
||||
|
|
Loading…
Reference in New Issue