- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for WTF (0.01 sec)
-
tests/test_tutorial/test_query_params_str_validations/test_tutorial015.py
assert response.status_code == 200, response.text assert response.json() == {"id": "isbn-nope", "name": None} def test_get_invalid_item(client: TestClient): response = client.get("/items?id=wtf-yes") assert response.status_code == 422, response.text assert response.json() == snapshot( { "detail": [ { "type": "value_error",Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 5K bytes - Viewed (0) -
tests/test_openapi_separate_input_output_schemas.py
client = get_app_client() client_no = get_app_client(separate_input_output_schemas=False) data = { "name": "Plumbus", "sub": {"subname": "SubPlumbus", "sub_description": "Sub WTF"}, } response = client.post("/items/", json=data) response2 = client_no.post("/items/", json=data) assert response.status_code == response2.status_code == 200, response.text assert (
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 26.6K bytes - Viewed (0)