pre-commit-ci-lite[bot]
5 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
docs_src/app_testing/tutorial003_py310.py
|
|
@ -25,4 +25,4 @@ def test_read_items(): |
|
|
with TestClient(app) as client: |
|
|
with TestClient(app) as client: |
|
|
response = client.get("/items/foo") |
|
|
response = client.get("/items/foo") |
|
|
assert response.status_code == 200 |
|
|
assert response.status_code == 200 |
|
|
assert response.json() == {"name": "Fighters"} |
|
|
assert response.json() == {"name": "Fighters"} |
|
|
|