forked from TrueCloudLab/s3-tests
parent
93a6d89681
commit
e95809024c
1 changed files with 0 additions and 6 deletions
|
@ -2040,13 +2040,10 @@ def test_multi_object_delete_key_limit():
|
|||
numKeys = 0
|
||||
for page in pages:
|
||||
numKeys += len(page['Contents'])
|
||||
|
||||
response = client.list_objects(Bucket=bucket_name)
|
||||
eq(numKeys, 1001)
|
||||
|
||||
objs_dict = _make_objs_dict(key_names=key_names)
|
||||
e = assert_raises(ClientError,client.delete_objects,Bucket=bucket_name,Delete=objs_dict)
|
||||
|
||||
status, error_code = _get_status_and_error_code(e.response)
|
||||
eq(status, 400)
|
||||
|
||||
|
@ -2064,13 +2061,10 @@ def test_multi_objectv2_delete_key_limit():
|
|||
numKeys = 0
|
||||
for page in pages:
|
||||
numKeys += len(page['Contents'])
|
||||
|
||||
response = client.list_objects(Bucket=bucket_name)
|
||||
eq(numKeys, 1001)
|
||||
|
||||
objs_dict = _make_objs_dict(key_names=key_names)
|
||||
e = assert_raises(ClientError,client.delete_objects,Bucket=bucket_name,Delete=objs_dict)
|
||||
|
||||
status, error_code = _get_status_and_error_code(e.response)
|
||||
eq(status, 400)
|
||||
|
||||
|
|
Loading…
Reference in a new issue