From a139a18b2703a4d29ebf98e2bb28a687bf6c7154 Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Wed, 25 Sep 2024 11:29:01 -0400 Subject: [PATCH] s3: add v2 signature presigned put_object tests Signed-off-by: Casey Bodley (cherry picked from commit 999d39d4db723554566acf83ccc932cb0a0e832b) --- s3tests_boto3/functional/test_s3.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/s3tests_boto3/functional/test_s3.py b/s3tests_boto3/functional/test_s3.py index 8698273..f18401a 100644 --- a/s3tests_boto3/functional/test_s3.py +++ b/s3tests_boto3/functional/test_s3.py @@ -6896,6 +6896,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(),