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

Function test_mounted_route

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

Source from the content-addressed store, hash-verified

190
191
192def test_mounted_route(client: TestClient) -> None:
193 response = client.get("/users/")
194 assert response.status_code == 200
195 assert response.text == "Hello, everyone!"
196
197
198def test_mounted_route_path_params(client: TestClient) -> None:

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected