- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for test_other_exceptions (0.08 seconds)
-
tests/test_tutorial/test_body/test_tutorial001.py
"msg": "Input should be a valid dictionary or object to extract fields from", "input": '{"name": "Foo", "price": 50.5}', } ] } def test_other_exceptions(client: TestClient): with patch("json.loads", side_effect=Exception): response = client.post("/items/", json={"test": "test2"}) assert response.status_code == 400, response.text
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 10.6K bytes - Click Count (0)