]> git.apps.os.sepia.ceph.com Git - s3-tests.git/commit
replace datetime.now with datetime.utcnow()
authorAli Maredia <amaredia@redhat.com>
Tue, 20 Feb 2024 17:17:32 +0000 (12:17 -0500)
committerAli Maredia <amaredia@redhat.com>
Wed, 21 Feb 2024 17:29:58 +0000 (12:29 -0500)
commit10fcfbea4c4c9b03abc9f86a32f4cbeabcc31d8b
tree2968de561dad313323f8ecd9b43407b45e62cf04
parente0503c9fcd27c7dc6ed04266aa89aead5674ad98
replace datetime.now with datetime.utcnow()

when the local timezone is not UTC and if it is a day behind,
lifecycle_header tests fails with 2 days not equal to 1
so replacing datetime.now() with datetime.utcnow()

Signed-off-by: Ali Maredia <amaredia@redhat.com>
(cherry picked from commit 4744808eda28efca75b180c5d5ef1a5ebf24043f)
s3tests_boto3/functional/test_s3.py