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

Function test_url_path_for

tests/test_applications.py:166–167  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

164
165
166def test_url_path_for() -> None:
167 assert app.url_path_for("func_homepage") == "/func"
168
169
170def test_func_route(client: TestClient) -> None:

Callers

nothing calls this directly

Calls 1

url_path_forMethod · 0.45

Tested by

no test coverage detected