MCPcopy
hub / github.com/encode/uvicorn / test_http_auto

Function test_http_auto

tests/test_auto_detection.py:44–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42
43@pytest.mark.anyio
44async def test_http_auto():
45 config = Config(app=app)
46 server_state = ServerState()
47 protocol = AutoHTTPProtocol(config=config, server_state=server_state, app_state={})
48 assert type(protocol).__name__ == expected_http
49
50
51@pytest.mark.anyio

Callers

nothing calls this directly

Calls 2

ConfigClass · 0.90
ServerStateClass · 0.90

Tested by

no test coverage detected