test_s3: fix test_list_multipart_upload()

Test was calling _multipart_upload() with extra useless param, this
broke when we added a new param to the function.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
(cherry picked from commit f4de9f7b42)
This commit is contained in:
Yehuda Sadeh 2014-10-14 11:47:02 -07:00
parent d2c0ccd7b5
commit 1f19abf43d

View file

@ -4260,11 +4260,11 @@ def test_list_multipart_upload():
bucket = get_new_bucket() bucket = get_new_bucket()
key="mymultipart" key="mymultipart"
mb = 1024 * 1024 mb = 1024 * 1024
upload1 = _multipart_upload(bucket, key, 5 * mb, 1) upload1 = _multipart_upload(bucket, key, 5 * mb, do_list = True)
upload2 = _multipart_upload(bucket, key, 6 * mb, 1) upload2 = _multipart_upload(bucket, key, 6 * mb, do_list = True)
key2="mymultipart2" key2="mymultipart2"
upload3 = _multipart_upload(bucket, key2, 5 * mb, 1) upload3 = _multipart_upload(bucket, key2, 5 * mb, do_list = True)
l = bucket.list_multipart_uploads() l = bucket.list_multipart_uploads()
l = list(l) l = list(l)