Merge pull request #297 from albin-antony/mutuallyexclusive

startafter and continuation token shouldn't  be returned if they are not specified in the request
This commit is contained in:
Ali Maredia 2019-08-22 14:13:09 -04:00 committed by GitHub
commit dab15076fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1368,18 +1368,6 @@ def test_bucket_list_marker_none():
response = client.list_objects(Bucket=bucket_name)
eq(response['Marker'], '')
@attr(resource='bucket')
@attr(method='get')
@attr(operation='list all keys with list-objects-v2')
@attr(assertion='no pagination, no continuationtoken')
@attr('list-objects-v2')
def test_bucket_listv2_continuationtoken_none():
key_names = ['bar', 'baz', 'foo', 'quxx']
bucket_name = _create_objects(keys=key_names)
client = get_client()
response = client.list_objects_v2(Bucket=bucket_name)
eq(response['ContinuationToken'], '')
@attr(resource='bucket')
@attr(method='get')