s3-tests/s3tests_boto3/functional
Matt Benjamin 7c067c346b 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>
(cherry picked from commit 2d12e98ce0)
2019-04-23 11:14:33 -04:00
..
__init__.py boto3: Foundation laid for boto3 tests 2019-04-23 11:08:04 -04:00
policy.py boto3: Foundation laid for boto3 tests 2019-04-23 11:08:04 -04:00
rgw_interactive.py boto3: Foundation laid for boto3 tests 2019-04-23 11:08:04 -04:00
test_headers.py boto3: Foundation laid for boto3 tests 2019-04-23 11:08:04 -04:00
test_s3.py boto3_s3tests: add tests for lifecycle expiration header 2019-04-23 11:14:33 -04:00
test_utils.py boto3: Foundation laid for boto3 tests 2019-04-23 11:08:04 -04:00
utils.py boto3: Foundation laid for boto3 tests 2019-04-23 11:08:04 -04:00