mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-24 19:30:38 +00:00
chore:Removes unused scaffolds
This commit is contained in:
parent
459e3c870a
commit
d2a7ed88f1
1 changed files with 0 additions and 6 deletions
|
@ -2041,13 +2041,10 @@ def test_multi_object_delete_key_limit():
|
||||||
numKeys = 0
|
numKeys = 0
|
||||||
for page in pages:
|
for page in pages:
|
||||||
numKeys += len(page['Contents'])
|
numKeys += len(page['Contents'])
|
||||||
|
|
||||||
response = client.list_objects(Bucket=bucket_name)
|
|
||||||
eq(numKeys, 1001)
|
eq(numKeys, 1001)
|
||||||
|
|
||||||
objs_dict = _make_objs_dict(key_names=key_names)
|
objs_dict = _make_objs_dict(key_names=key_names)
|
||||||
e = assert_raises(ClientError,client.delete_objects,Bucket=bucket_name,Delete=objs_dict)
|
e = assert_raises(ClientError,client.delete_objects,Bucket=bucket_name,Delete=objs_dict)
|
||||||
|
|
||||||
status, error_code = _get_status_and_error_code(e.response)
|
status, error_code = _get_status_and_error_code(e.response)
|
||||||
eq(status, 400)
|
eq(status, 400)
|
||||||
|
|
||||||
|
@ -2065,13 +2062,10 @@ def test_multi_objectv2_delete_key_limit():
|
||||||
numKeys = 0
|
numKeys = 0
|
||||||
for page in pages:
|
for page in pages:
|
||||||
numKeys += len(page['Contents'])
|
numKeys += len(page['Contents'])
|
||||||
|
|
||||||
response = client.list_objects(Bucket=bucket_name)
|
|
||||||
eq(numKeys, 1001)
|
eq(numKeys, 1001)
|
||||||
|
|
||||||
objs_dict = _make_objs_dict(key_names=key_names)
|
objs_dict = _make_objs_dict(key_names=key_names)
|
||||||
e = assert_raises(ClientError,client.delete_objects,Bucket=bucket_name,Delete=objs_dict)
|
e = assert_raises(ClientError,client.delete_objects,Bucket=bucket_name,Delete=objs_dict)
|
||||||
|
|
||||||
status, error_code = _get_status_and_error_code(e.response)
|
status, error_code = _get_status_and_error_code(e.response)
|
||||||
eq(status, 400)
|
eq(status, 400)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue