From 3ed20fd9104cd077ab2dcccd77d951c306cfd7de Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Tue, 30 Jun 2015 10:06:23 -0700 Subject: [PATCH] Remove unneeded called to _head_bucket Test does not consume obj_count or bytes_used and this function now returns a dict of optional headers. Signed-off-by: Andrew Gaul --- s3tests/functional/test_s3.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/s3tests/functional/test_s3.py b/s3tests/functional/test_s3.py index f5135ef..91cb4c8 100644 --- a/s3tests/functional/test_s3.py +++ b/s3tests/functional/test_s3.py @@ -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)