- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_no_response_model_annotation_json_response_class (0.21 sec)
-
tests/test_response_model_as_return_annotation.py
response = client.get("/no_response_model-annotation_response_class") assert response.status_code == 200, response.text assert response.text == "Foo" def test_no_response_model_annotation_json_response_class(): response = client.get("/no_response_model-annotation_json_response_class") assert response.status_code == 200, response.text assert response.json() == {"foo": "bar"}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Aug 14 09:49:57 UTC 2023 - 47.7K bytes - Viewed (0)