mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-05-18 07:40:05 +02:00
test fix
This commit is contained in:
parent
bb09bde519
commit
a65fefd226
@ -269,5 +269,5 @@ async def test_test_expire_oauth_token(
|
||||
|
||||
# Now should be within 10-11 seconds of the set expiration
|
||||
now = datetime.now(timezone.utc).timestamp()
|
||||
assert update_data["expires_at"] - now >= 9 # Allow 1 second for test execution
|
||||
assert update_data["expires_at"] - now <= 11 # Allow 1 second for test execution
|
||||
assert update_data["expires_at"] - now >= 8.9 # Allow 1 second for test execution
|
||||
assert update_data["expires_at"] - now <= 11.1 # Allow 1 second for test execution
|
||||
|
Loading…
x
Reference in New Issue
Block a user