s3-tests/s3tests_boto3/functional
Matt Benjamin 2d12e98ce0 boto3_s3tests: add tests for lifecycle expiration header
The response to a successful PUT or HEAD (or GET) of/on
an object matching any enabled lifecycle expiration rule should
include an x-amz-expiration header for the object.  The
x-amz-expiration header consists of an expiry-date, rule-id tuple
indicating the earliest matching rule and the corresponding
expiration date for the object.

Also, while at it, add test for lifecycle expiration rule with
'Days' : 0, which should both apply and...work.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2019-02-14 18:32:33 -05:00
..
__init__.py boto3: Foundation laid for boto3 tests 2019-01-16 16:31:24 -05:00
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 boto3: Foundation laid for boto3 tests 2019-01-16 16:31:24 -05:00
test_s3.py boto3_s3tests: add tests for lifecycle expiration header 2019-02-14 18:32:33 -05:00
test_utils.py boto3: Foundation laid for boto3 tests 2019-01-16 16:31:24 -05:00
utils.py boto3: Foundation laid for boto3 tests 2019-01-16 16:31:24 -05:00