- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for test_orjson_response_emits_deprecation_warning (0.25 seconds)
-
tests/test_orjson_response_class.py
Sebastián RamÃrez <******@****.***> 1771778099 -0800
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 22 16:34:59 GMT 2026 - 846 bytes - Click Count (0) -
tests/test_deprecated_responses.py
response = client.get("/items") assert response.status_code == 200 assert response.json() == {"name": "widget", "price": 9.99} def test_orjson_response_emits_deprecation_warning(): with pytest.warns(FastAPIDeprecationWarning, match="ORJSONResponse is deprecated"): ORJSONResponse(content={"hello": "world"}) # UJSON def _make_ujson_app() -> FastAPI:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 22 16:34:59 GMT 2026 - 2K bytes - Click Count (0)