Skip to content

Commit

Permalink
Update test case to account for refreshed token expiration rounding t…
Browse files Browse the repository at this point in the history
…o the same value
  • Loading branch information
NeonDaniel committed Nov 13, 2024
1 parent 08bf932 commit 5b9787e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/hana_util_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down

0 comments on commit 5b9787e

Please sign in to comment.