Debian Codegraph @

tests/test_exceptions.py

raw
1 from jwt.exceptions import MissingRequiredClaimError
2
3
4 def test_missing_required_claim_error_has_proper_str() -> None:
5 exc = MissingRequiredClaimError("abc")
6
7 assert str(exc) == 'Token is missing the "abc" claim'