MCPcopy Index your code
hub / github.com/pallets/quart / test_root_path

Function test_root_path

tests/test_basic.py:225–230  ·  view source on GitHub ↗
(app: Quart)

Source from the content-addressed store, hash-verified

223
224
225async def test_root_path(app: Quart) -> None:
226 test_client = app.test_client()
227 response = await test_client.get("/", root_path="/bob")
228 assert response.status_code == 404
229 response = await test_client.get("/bob/", root_path="/bob")
230 assert response.status_code == 200
231
232
233async def test_stream(app: Quart) -> None:

Callers

nothing calls this directly

Calls 2

test_clientMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected