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

Function test_implicit_json

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

Source from the content-addressed store, hash-verified

119
120
121async def test_implicit_json(app: Quart) -> None:
122 test_client = app.test_client()
123 response = await test_client.post("/implicit_json/", json={"value": "json"})
124 assert response.status_code == 200
125 assert b'{"value":"json"}\n' == (await response.get_data())
126
127
128async def test_implicit_json_list(app: Quart) -> None:

Callers

nothing calls this directly

Calls 3

test_clientMethod · 0.45
postMethod · 0.45
get_dataMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…