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

Function test_without_alg

tests/clients/test_httpx/test_async_assertion_client.py:81–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79
80@pytest.mark.asyncio
81async def test_without_alg():
82 async with AsyncAssertionClient(
83 "https://provider.test/token",
84 issuer="foo",
85 subject="foo",
86 audience="foo",
87 key="secret",
88 transport=ASGITransport(AsyncMockDispatch()),
89 ) as client:
90 with pytest.raises(ValueError):
91 await client.get("https://provider.test")

Callers

nothing calls this directly

Calls 3

AsyncMockDispatchClass · 0.85
getMethod · 0.45

Tested by

no test coverage detected