(client: TestClient)
| 237 | |
| 238 | |
| 239 | def test_put(client: TestClient): |
| 240 | response = client.put( |
| 241 | "/items/plumbus?token=jessica", headers={"X-Token": "fake-super-secret-token"} |
| 242 | ) |
| 243 | assert response.status_code == 200, response.text |
| 244 | assert response.json() == {"item_id": "plumbus", "name": "The great Plumbus"} |
| 245 | |
| 246 | |
| 247 | def test_put_forbidden(client: TestClient): |
nothing calls this directly
no test coverage detected
searching dependent graphs…