s3-tests/s3tests_boto3/functional
Priya Sehgal dd7cac25f5 sse s3 jumbo patch - all in one fixes for sse-s3 logic
original tests by Priya Sehgal <priya.sehgal@flipkart.com>:
rgw/s3_boto3: Tests added for SSE-S3 (GET, PUT, HEAD, MPU).

Additions by Casey Bodley <cbodley@redhat.com>:
add 'sse-s3' tag to test cases
sse: add _put_bucket_encryption() helper function
sse: document test cases with default bucket encryption
sse: expects encryption response header on put/get
sse: add 8MB default-encrypted upload
sse: test uploads that request x-amz-server-side-encryption=AES256

Lastly all my changes (Marcus Watts <mwatts@redhat.com>):

remove obsolete test - do it only in boto3 now.

Combine or rename duplicated function names.
Giving more than one test the same name is a Bad Thing(tm).

sse: expand test_bucket_policy_put_obj_enc, and _put_bucket_encryption

test_bucket_policy_put_obj_enc was testing too many things at once.
new tests:

* customer encryption and sse-s3: should fail
* customer encryption and sse-kms: should fail
* deny if not sse-s3: no-enc fails, sse-s3 succeeds.
* deny if not sse-s3: kms fails
  deny if not sse-ksm: no-enc fails, sse-kms succeeds.
  deny if not sse-ksm: s3 fails

_put_bucket_encryption was only testing sse-s3.
* test both these variations: sse-s3 and sse-kms

Note:
* these tests will fail on pre-sse-s3 ceph.

python3: comment out all boto3.set_stream_logger() calls
They made too much output.

Signed-off-by: Marcus Watts <mwatts@redhat.com>
2022-04-29 17:44:56 -04:00
..
__init__.py Enable lifecycle tests 2022-02-02 00:05:30 +05:30
policy.py boto3: Foundation laid for boto3 tests 2019-01-16 16:31:24 -05:00
rgw_interactive.py boto3: Foundation laid for boto3 tests 2019-01-16 16:31:24 -05:00
test_headers.py Tag testcases failing on dbstore with 'fails_on_dbstore' attr 2022-04-27 15:44:40 +05:30
test_s3.py sse s3 jumbo patch - all in one fixes for sse-s3 logic 2022-04-29 17:44:56 -04:00
test_s3select.py revert the arrow installation(causing failure on some distro"s, such as fedora) 2022-01-12 19:01:06 +02:00
test_sts.py Tag testcases failing on dbstore with 'fails_on_dbstore' attr 2022-04-27 15:44:40 +05:30
test_utils.py Port functional tests from python 2 to python 3 2020-01-14 12:20:05 -05:00
utils.py Port functional tests from python 2 to python 3 2020-01-14 12:20:05 -05:00