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

Function test_concrete_http_class

tests/test_config.py:251–254  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

249
250
251def test_concrete_http_class() -> None:
252 config = Config(app=asgi_app, http=H11Protocol)
253 config.load()
254 assert config.http_protocol_class is H11Protocol
255
256
257def test_socket_bind() -> None:

Callers

nothing calls this directly

Calls 2

loadMethod · 0.95
ConfigClass · 0.90

Tested by

no test coverage detected