MCPcopy Create free account
hub / github.com/pallets/quart / test_echo

Function test_echo

examples/api/tests/test_api.py:5–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3
4
5async def test_echo() -> None:
6 test_client = app.test_client()
7 response = await test_client.post("/echo", json={"a": "b"})
8 data = await response.get_json()
9 assert data == {"extra": True, "input": {"a": "b"}}
10
11
12async def test_create_todo() -> None:

Callers

nothing calls this directly

Calls 3

test_clientMethod · 0.45
postMethod · 0.45
get_jsonMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…