From 999d39d4db723554566acf83ccc932cb0a0e832b 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 --- 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 7d8b095..b57a673 100644 --- a/s3tests_boto3/functional/test_s3.py +++ b/s3tests_boto3/functional/test_s3.py @@ -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(),