MCPcopy
hub / github.com/encode/starlette / test_websocket_route_repr

Function test_websocket_route_repr

tests/test_routing.py:1039–1041  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1037
1038
1039def test_websocket_route_repr() -> None:
1040 route = WebSocketRoute("/ws", endpoint=websocket_endpoint)
1041 assert repr(route) == "WebSocketRoute(path='/ws', name='websocket_endpoint')"
1042
1043
1044def test_mount_repr() -> None:

Callers

nothing calls this directly

Calls 1

WebSocketRouteClass · 0.90

Tested by

no test coverage detected