Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fastapi/fastapi
/ test_read_items
Function
test_read_items
docs_src/app_testing/tutorial003_py310.py:20–24 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
18
19
20
def
test_read_items():
21
with
TestClient(app)
as
client:
22
response = client.get(
"/items/foo"
)
23
assert response.status_code == 200
24
assert response.json() == {
"name"
:
"Fighters"
}
Callers
1
test_main
Function · 0.90
Calls
1
get
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…