test_sse_s3_default_multipart_upload verifies encryption header

Signed-off-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
Casey Bodley 2023-03-30 14:27:27 -04:00
parent 818443e916
commit febbcc12c2

View file

@ -12642,6 +12642,7 @@ def test_sse_s3_default_multipart_upload():
assert response['Metadata'] == metadata assert response['Metadata'] == metadata
assert response['ResponseMetadata']['HTTPHeaders']['content-type'] == content_type assert response['ResponseMetadata']['HTTPHeaders']['content-type'] == content_type
assert response['ResponseMetadata']['HTTPHeaders']['x-amz-server-side-encryption'] == 'AES256'
body = _get_body(response) body = _get_body(response)
assert body == data assert body == data