s3-tests/s3tests_boto3
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
..
analysis boto3: Foundation laid for boto3 tests 2019-04-23 11:08:04 -04:00
functional boto3_s3tests: add tests for lifecycle expiration header 2019-04-23 11:14:33 -04:00
fuzz boto3: Foundation laid for boto3 tests 2019-04-23 11:08:04 -04:00
tests boto3: Foundation laid for boto3 tests 2019-04-23 11:08:04 -04:00
__init__.py boto3: Foundation laid for boto3 tests 2019-04-23 11:08:04 -04:00
common.py boto3: Foundation laid for boto3 tests 2019-04-23 11:08:04 -04:00
generate_objects.py boto3: Foundation laid for boto3 tests 2019-04-23 11:08:04 -04:00
readwrite.py boto3: Foundation laid for boto3 tests 2019-04-23 11:08:04 -04:00
realistic.py boto3: Foundation laid for boto3 tests 2019-04-23 11:08:04 -04:00
roundtrip.py boto3: Foundation laid for boto3 tests 2019-04-23 11:08:04 -04:00