MCPcopy Create free account
hub / github.com/fastapi/fastapi / test_required_nonable_body_embed_invalid

Function test_required_nonable_body_embed_invalid

tests/test_required_noneable.py:52–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50
51
52def test_required_nonable_body_embed_invalid():
53 response = client.post("/body-embed", json={"invalid": "invalid"})
54 assert response.status_code == 422
55
56
57def test_required_noneable_body_embed_value():

Callers

nothing calls this directly

Calls 1

postMethod · 0.45

Tested by

no test coverage detected