]> git-server-git.apps.pok.os.sepia.ceph.com Git - s3-tests.git/commit
replace datetime.now with datetime.utcnow() 552/head
authorAli Maredia <amaredia@redhat.com>
Tue, 20 Feb 2024 17:17:32 +0000 (12:17 -0500)
committerAli Maredia <amaredia@redhat.com>
Tue, 20 Feb 2024 17:17:32 +0000 (12:17 -0500)
commit4744808eda28efca75b180c5d5ef1a5ebf24043f
treef17c346000f9d7a1ba8695433f56935ab30498d6
parent997f78d58ac7b991e555328953fc8e72d912a303
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>
s3tests_boto3/functional/test_s3.py