- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_get_item_does_not_exist (0.07 sec)
-
tests/test_tutorial/test_query_params_str_validations/test_tutorial015.py
assert response.status_code == 200, response.text assert response.json() == { "id": "isbn-9781529046137", "name": "The Hitchhiker's Guide to the Galaxy", } def test_get_item_does_not_exist(client: TestClient): response = client.get("/items?id=isbn-nope") assert response.status_code == 200, response.text assert response.json() == {"id": "isbn-nope", "name": None}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 5K bytes - Viewed (0)