|
@ -21,4 +21,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"} |
|
|