summaryrefslogtreecommitdiff
path: root/tests/test_exceptions.py
blob: 9e7f91e118d6e7e6fa96e183b5ecfeda636b8e61 (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'