]> git-server-git.apps.pok.os.sepia.ceph.com Git - s3-tests.git/commitdiff
fix broken test
authorYehuda Sadeh <yehuda@redhat.com>
Tue, 1 Nov 2016 23:08:00 +0000 (16:08 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Tue, 1 Nov 2016 23:09:09 +0000 (16:09 -0700)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
s3tests/functional/test_s3.py

index 020cb960df46f5578f7365a8d756f998496bcc5c..4365a8bcdbb3c7bdb490e1eea1d3b4257e0a217d 100644 (file)
@@ -5038,7 +5038,7 @@ def test_object_copy_versioning_multipart_upload():
     eq(got, data)
 
     # copy from a non versioned bucket
-    key6 = bucket.copy_key('dstmultipart5', bucket3.name, key5.name)
+    key6 = bucket3.copy_key('dstmultipart5', bucket3.name, key5.name)
     key6 = bucket3.get_key(key6.name)
     eq(key6.metadata['foo'], 'bar')
     eq(key6.content_type, content_type)