MCPcopy Create free account
hub / github.com/authlib/authlib / test_attribute_error

Function test_attribute_error

tests/jose/test_jwt.py:221–224  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

219
220
221def test_attribute_error():
222 claims = JWTClaims({"iss": "foo"}, {"alg": "HS256"})
223 with pytest.raises(AttributeError):
224 claims.invalid # noqa: B018
225
226
227def test_invalid_values():

Callers

nothing calls this directly

Calls 1

JWTClaimsClass · 0.90

Tested by

no test coverage detected