- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for twenty (0.03 sec)
-
tests/test_tutorial/test_body/test_tutorial001.py
response = client.post("/items/", json={"name": "Foo", "price": "twenty"}) assert response.status_code == 422 assert response.json() == { "detail": [ { "type": "float_parsing", "loc": ["body", "price"], "msg": "Input should be a valid number, unable to parse string as a number", "input": "twenty", } ] }
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 10.6K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial011.py
"path,expected_status,expected_response", [ ( "/query-checker/", 200, {"fixed_content_in_query": False}, ), ( "/query-checker/?q=qwerty", 200, {"fixed_content_in_query": False}, ), ( "/query-checker/?q=foobar", 200, {"fixed_content_in_query": True}, ), ],Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 3.9K bytes - Viewed (0)