Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/fastapi/fastapi
/ test_required_noneable_body_embed_value
Function
test_required_noneable_body_embed_value
tests/test_required_noneable.py:57–60 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
55
56
57
def
test_required_noneable_body_embed_value():
58
response = client.post(
"/body-embed"
, json={
"b"
:
"foo"
})
59
assert response.status_code == 200
60
assert response.json() ==
"foo"
Callers
nothing calls this directly
Calls
1
post
Method · 0.45
Tested by
no test coverage detected