From f4de9f7b42e2fd2e3feaa0860367f4f442777b9f Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Tue, 14 Oct 2014 11:47:02 -0700 Subject: [PATCH] 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 --- s3tests/functional/test_s3.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/s3tests/functional/test_s3.py b/s3tests/functional/test_s3.py index 9c05421..79ede6d 100644 --- a/s3tests/functional/test_s3.py +++ b/s3tests/functional/test_s3.py @@ -4270,11 +4270,11 @@ def test_list_multipart_upload(): bucket = get_new_bucket() key="mymultipart" mb = 1024 * 1024 - upload1 = _multipart_upload(bucket, key, 5 * mb, 1) - upload2 = _multipart_upload(bucket, key, 6 * mb, 1) + upload1 = _multipart_upload(bucket, key, 5 * mb, do_list = True) + upload2 = _multipart_upload(bucket, key, 6 * mb, do_list = True) 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 = list(l)