- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for test_put_invalid_header (0.29 seconds)
-
tests/test_tutorial/test_bigger_applications/test_main.py
"type": "missing", "loc": ["header", "x-token"], "msg": "Field required", "input": None, }, ] } def test_put_invalid_header(client: TestClient): response = client.put("/items/foo", headers={"X-Token": "invalid"}) assert response.status_code == 400, response.text assert response.json() == {"detail": "X-Token header invalid"}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 22.8K bytes - Click Count (0)