blob: 90030a7e89e9c49d709d8fe9d02c19a4890801f4 (
plain)
1
2
3
4
5
6
7
|
from jwt.exceptions import MissingRequiredClaimError
def test_missing_required_claim_error_has_proper_str():
exc = MissingRequiredClaimError("abc")
assert str(exc) == 'Token is missing the "abc" claim'
|