Skip to content

Commit 24d4093

Browse files
committed
chore: remove test
1 parent 510b47e commit 24d4093

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

integration/test_auth.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -600,19 +600,6 @@ def test_verify_id_token_revoked(new_user, api_key):
600600
claims = auth.verify_id_token(id_token, check_revoked=True)
601601
assert claims['iat'] * 1000 >= user.tokens_valid_after_timestamp
602602

603-
def test_verify_id_token_tolerance(new_user, api_key):
604-
expired_id_token = _sign_in_with_password(new_user_with_params())
605-
time.sleep(1)
606-
# Verify the ID token with a tolerance of 0 seconds. This should
607-
# raise an exception because the token is expired.
608-
with pytest.raises(auth.ExpiredIdTokenError) as excinfo:
609-
auth.verify_id_token(expired_id_token, check_revoked=False, clock_skew_seconds=0)
610-
assert str(excinfo.value) == 'The Firebase ID token is expired.'
611-
612-
# Verify the ID token with a tolerance of 2 seconds. This should
613-
# not raise an exception because the token is within the tolerance.
614-
auth.verify_id_token(expired_id_token, check_revoked=False, clock_skew_seconds=2)
615-
616603
def test_verify_id_token_disabled(new_user, api_key):
617604
custom_token = auth.create_custom_token(new_user.uid)
618605
id_token = _sign_in(custom_token, api_key)

0 commit comments

Comments
 (0)