Remove ()'s on complete_upload since should.throw requires a 'callable'.

This commit is contained in:
Mike Attili 2013-11-07 17:07:56 -05:00
parent b1d59c7e17
commit b64dbcaa12

View File

@ -47,7 +47,7 @@ def test_multipart_upload():
multipart.upload_part_from_file(BytesIO('hello'), 1)
multipart.upload_part_from_file(BytesIO('world'), 2)
# Multipart with total size under 5MB is refused
multipart.complete_upload().should.throw(S3ResponseError)
multipart.complete_upload.should.throw(S3ResponseError)
multipart = bucket.initiate_multipart_upload("the-key")
part1 = '0' * 5242880