diff --git a/tests/hana_util_tests.py b/tests/hana_util_tests.py index 8effe5ab..9bb47c41 100644 --- a/tests/hana_util_tests.py +++ b/tests/hana_util_tests.py @@ -152,8 +152,8 @@ def _write_token(*_, **__): new_credentials['client_id']) self.assertEqual(credentials_on_disk['username'], new_credentials['username']) - self.assertGreater(new_credentials['expiration'], - credentials_on_disk['expiration']) + self.assertGreaterEqual(new_credentials['expiration'], + credentials_on_disk['expiration']) self.assertNotEqual(credentials_on_disk['access_token'], new_credentials['access_token']) self.assertNotEqual(credentials_on_disk['refresh_token'],