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

Function test_async_route

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

Source from the content-addressed store, hash-verified

178
179
180def test_async_route(client: TestClient) -> None:
181 response = client.get("/async")
182 assert response.status_code == 200
183 assert response.text == "Hello, world!"
184
185
186def test_class_route(client: TestClient) -> None:

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected