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

Function test_class_route

tests/test_applications.py:186–189  ·  view source on GitHub ↗
(client: TestClient)

Source from the content-addressed store, hash-verified

184
185
186def test_class_route(client: TestClient) -> None:
187 response = client.get("/class")
188 assert response.status_code == 200
189 assert response.text == "Hello, world!"
190
191
192def test_mounted_route(client: TestClient) -> None:

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected