We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b1b274 commit 3b7cda3Copy full SHA for 3b7cda3
packages/toolbox-core/tests/test_auth_methods.py
@@ -154,7 +154,9 @@ def test_get_google_id_token_success_local_creds(
154
mock_default.assert_called_once_with()
155
mock_session.assert_called_once_with(mock_creds)
156
mock_creds.refresh.assert_called_once_with(mock_request_instance)
157
- mock_verify.assert_called_once_with(MOCK_ID_TOKEN, ANY)
+ mock_verify.assert_called_once_with(
158
+ MOCK_ID_TOKEN, ANY, clock_skew_in_seconds=60
159
+ )
160
assert token == f"{auth_methods.BEARER_TOKEN_PREFIX}{MOCK_ID_TOKEN}"
161
assert auth_methods._token_cache["token"] == MOCK_ID_TOKEN
162
assert auth_methods._token_cache["expires_at"] == MOCK_EXPIRY_DATETIME
0 commit comments