]> git-server-git.apps.pok.os.sepia.ceph.com Git - s3-tests.git/commitdiff
Remove unneeded called to _head_bucket 63/head
authorAndrew Gaul <andrew@gaul.org>
Tue, 30 Jun 2015 17:06:23 +0000 (10:06 -0700)
committerAndrew Gaul <andrew@gaul.org>
Tue, 30 Jun 2015 17:09:29 +0000 (10:09 -0700)
Test does not consume obj_count or bytes_used and this function now
returns a dict of optional headers.

Signed-off-by: Andrew Gaul <andrew@gaul.org>
s3tests/functional/test_s3.py

index f5135ef8c5a0940d49e27f73d3e15413c8775481..91cb4c83c1783673671101c8a894befed215e614 100644 (file)
@@ -4635,8 +4635,6 @@ def _check_upload_multipart_resend(bucket, key, objlen, resend_parts):
     (upload, data) = _multipart_upload(bucket, key, objlen, headers={'Content-Type': content_type}, metadata={'foo': 'bar'}, resend_parts=resend_parts)
     upload.complete_upload()
 
-    (obj_count, bytes_used) = _head_bucket(bucket)
-
     k=bucket.get_key(key)
     eq(k.metadata['foo'], 'bar')
     eq(k.content_type, content_type)