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

Function test_index

tests/test_basic.py:90–94  ·  view source on GitHub ↗
(path: str, app: Quart)

Source from the content-addressed store, hash-verified

88
89@pytest.mark.parametrize("path", ["/", "/sync/"])
90async def test_index(path: str, app: Quart) -> None:
91 test_client = app.test_client()
92 response = await test_client.get(path)
93 assert response.status_code == 200
94 assert b"index" in (await response.get_data())
95
96
97async def test_iri(app: Quart) -> None:

Callers

nothing calls this directly

Calls 3

test_clientMethod · 0.45
getMethod · 0.45
get_dataMethod · 0.45

Tested by

no test coverage detected