s3-tests/s3tests_boto3/functional
Sumedh A. Kulkarni 5162da85ec Fix wrong assertion of the test: test_buckets_list_ctime
TestName:
s3tests_boto3.functional.test_s3:test_buckets_list_ctime

Problem:
The test creates 5 buckets for a user but in an assertion check,
it asserts false if any bucket of the user has CreationTime less
than a day prior to current time.
Due to this reason the test fails if the user has pre-existing
buckets older than a day.

Solution:
Assert only on the CreationTime of buckets that were created with
test execution.

Signed-off-by: Sumedh A. Kulkarni <sumedh.a.kulkarni@seagate.com>
Co-developed-by: Bob Ham <bham12@bloomberg.net>
Signed-off-by: Bob Ham <bham12@bloomberg.net>
(cherry picked from commit e9c5cc29e9)
2024-05-14 11:49:25 -04:00
..
__init__.py config: add [iam alt root] for an alt account's root user 2024-04-16 11:42:13 -04:00
iam.py iam: move iam_root, iam_alt_root fixtures to iam.py 2024-04-16 11:42:13 -04:00
policy.py PublicAccessBlock: test access deny via bucket policy 2024-03-08 14:12:27 -05:00
rgw_interactive.py boto3: Foundation laid for boto3 tests 2019-01-16 16:31:24 -05:00
test_headers.py test_headers: add custom marks for auth_common/aws2/aws4 2023-01-25 18:04:31 -05:00
test_iam.py iam: move iam_root, iam_alt_root fixtures to iam.py 2024-04-16 11:42:13 -04:00
test_s3.py Fix wrong assertion of the test: test_buckets_list_ctime 2024-05-14 11:49:25 -04:00
test_s3select.py adding tests per JSON input types, which includes various SQL operators. 2023-05-16 00:26:19 +03:00
test_sns.py sns: add test_sns.py for simple topic testing 2024-04-16 11:42:13 -04:00
test_sts.py better error handling in the STS tests 2023-02-20 11:49:34 -05:00
test_utils.py pytest: replace nose eq() with assert == 2023-01-25 18:03:50 -05:00
utils.py pytest: replace nose eq() with assert == 2023-01-25 18:03:50 -05:00