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

Function test_without_alg

tests/clients/test_httpx/test_assertion_client.py:78–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76
77
78def test_without_alg():
79 with AssertionClient(
80 "https://provider.test/token",
81 issuer="foo",
82 subject="foo",
83 audience="foo",
84 key="secret",
85 transport=WSGITransport(MockDispatch(default_token)),
86 ) as client:
87 with pytest.raises(ValueError):
88 client.get("https://provider.test")
89
90
91def test_refresh_token_non_json_error_response():

Callers

nothing calls this directly

Calls 3

AssertionClientClass · 0.90
MockDispatchClass · 0.85
getMethod · 0.45

Tested by

no test coverage detected