- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for invalid_id (0.07 sec)
-
tests/test_tutorial/test_path_params_numeric_validations/test_tutorial005.py
def test_read_items_non_int_item_id(client: TestClient): response = client.get("/items/invalid_id?q=somequery") assert response.status_code == 422, response.text assert response.json() == { "detail": [ { "loc": ["path", "item_id"], "input": "invalid_id", "msg": "Input should be a valid integer, unable to parse string as an integer",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 6.6K bytes - Viewed (0) -
tests/test_tutorial/test_path_params_numeric_validations/test_tutorial001.py
def test_read_items_invalid_item_id(client: TestClient): response = client.get("/items/invalid_id") assert response.status_code == 422, response.text assert response.json() == { "detail": [ { "loc": ["path", "item_id"], "input": "invalid_id", "msg": "Input should be a valid integer, unable to parse string as an integer",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 5.6K bytes - Viewed (0) -
tests/test_tutorial/test_path_params_numeric_validations/test_tutorial002_tutorial003.py
def test_read_items_invalid_item_id(client: TestClient): response = client.get("/items/invalid_id?q=somequery") assert response.status_code == 422, response.text assert response.json() == { "detail": [ { "loc": ["path", "item_id"], "input": "invalid_id", "msg": "Input should be a valid integer, unable to parse string as an integer",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 5.6K bytes - Viewed (0) -
tests/test_tutorial/test_path_params_numeric_validations/test_tutorial004.py
def test_read_items_non_int_item_id(client: TestClient): response = client.get("/items/invalid_id?q=somequery") assert response.status_code == 422, response.text assert response.json() == { "detail": [ { "loc": ["path", "item_id"], "input": "invalid_id", "msg": "Input should be a valid integer, unable to parse string as an integer",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 6K bytes - Viewed (0)