- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_get_http_error (0.07 sec)
-
tests/test_tutorial/test_handling_errors/test_tutorial006.py
"loc": ["path", "item_id"], "msg": "Input should be a valid integer, unable to parse string as an integer", "input": "foo", } ] } def test_get_http_error(): response = client.get("/items/3") assert response.status_code == 418, response.text assert response.json() == {"detail": "Nope! I don't like 3."} def test_get():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 3.6K bytes - Viewed (0)