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

Function test_make_test_body_with_headers_json

tests/test_testing.py:134–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132
133
134def test_make_test_body_with_headers_json() -> None:
135 body, headers = make_test_body_with_headers(json={"a": "b"})
136 assert body == b'{"a": "b"}'
137 assert headers == Headers({"Content-Type": "application/json"})
138
139
140def test_make_test_body_with_headers_argument_error() -> None:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…