sse-kms: adding missing kms test to parametrization

This commit is contained in:
Andrea Baglioni 2019-09-24 16:49:13 +01:00
parent fab38b2579
commit 4f9710a23b

View file

@ -10059,6 +10059,7 @@ def test_sse_kms_multipart_invalid_chunks_2():
@attr(assertion='succeeds and returns written data')
@attr('encryption')
def test_sse_kms_post_object_authenticated_request():
kms_keyid = get_main_kms_keyid()
bucket_name = get_new_bucket()
client = get_client()
@ -10090,7 +10091,7 @@ def test_sse_kms_post_object_authenticated_request():
("acl" , "private"),("signature" , signature),("policy" , policy),\
("Content-Type" , "text/plain"),
('x-amz-server-side-encryption', 'aws:kms'), \
('x-amz-server-side-encryption-aws-kms-key-id', 'testkey-1'), \
('x-amz-server-side-encryption-aws-kms-key-id', kms_keyid), \
('file', ('bar'))])
r = requests.post(url, files = payload)