From 1ca6a94e6ac7fd88870d929ac4c0e136295e406c Mon Sep 17 00:00:00 2001 From: hechuang Date: Mon, 3 Jul 2017 12:11:08 +0800 Subject: [PATCH] modify test_sse_kms_method_head() for aws standard Signed-off-by: hechuang --- s3tests/functional/test_s3.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/s3tests/functional/test_s3.py b/s3tests/functional/test_s3.py index d6a88bd..dd943ff 100644 --- a/s3tests/functional/test_s3.py +++ b/s3tests/functional/test_s3.py @@ -8435,6 +8435,9 @@ def test_sse_kms_method_head(): eq(res.status, 200) eq(res.getheader('x-amz-server-side-encryption'), 'aws:kms') eq(res.getheader('x-amz-server-side-encryption-aws-kms-key-id'), 'testkey-1') + + res = _make_request('HEAD', bucket, key, authenticated=True, request_headers=sse_kms_client_headers) + eq(res.status, 400) @attr(resource='object')