s3-tests/s3tests_boto3/functional
Sumedh A. Kulkarni e9c5cc29e9 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>
2024-05-14 07:12:17 -04:00
..
__init__.py config: add [iam alt root] for an alt account's root user 2024-03-10 10:45:22 -04:00
iam.py iam: move iam_root, iam_alt_root fixtures to iam.py 2024-03-12 15:47:51 -04:00
policy.py PublicAccessBlock: test access deny via bucket policy 2024-02-20 15:52:36 +01: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 17:07:40 -05:00
test_iam.py iam: move iam_root, iam_alt_root fixtures to iam.py 2024-03-12 15:47:51 -04:00
test_s3.py Fix wrong assertion of the test: test_buckets_list_ctime 2024-05-14 07:12:17 -04:00
test_s3select.py Merge branch 'master' into using_get_bucket_name 2023-06-08 10:19:37 +03:00
test_sns.py sns: add test_sns.py for simple topic testing 2024-03-12 20:34:24 -04:00
test_sts.py better error handling in the STS tests 2023-02-13 17:28:23 +02:00
test_utils.py pytest: replace nose eq() with assert == 2023-01-21 22:40:33 -05:00
utils.py pytest: replace nose eq() with assert == 2023-01-21 22:40:33 -05:00