]> git.apps.os.sepia.ceph.com Git - s3-tests.git/commitdiff
s3: add v2 signature presigned put_object tests 589/head
authorCasey Bodley <cbodley@redhat.com>
Wed, 25 Sep 2024 15:29:01 +0000 (11:29 -0400)
committerCasey Bodley <cbodley@redhat.com>
Wed, 25 Sep 2024 15:29:01 +0000 (11:29 -0400)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
s3tests_boto3/functional/test_s3.py

index 7d8b0956c4f264b394a61a8c056d0cedf7488087..b57a6732779fcf9689803d9aa5e88ade580a63a7 100644 (file)
@@ -6814,6 +6814,18 @@ def test_cors_presigned_put_object_with_acl():
         cannedACL='private',
     )
 
+def test_cors_presigned_put_object_v2():
+    _test_cors_options_presigned_method(
+        client=get_v2_client(),
+        method='put_object',
+    )
+
+def test_cors_presigned_put_object_tenant_v2():
+    _test_cors_options_presigned_method(
+        client=get_v2_tenant_client(),
+        method='put_object',
+    )
+
 def test_cors_presigned_put_object_tenant():
     _test_cors_options_presigned_method(
         client=get_tenant_client(),