- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_level1_override (0.1 sec)
-
tests/test_include_router_defaults_overrides.py
callbacks=callback_router1.routes, ) app.include_router(router2_override) app.include_router(router2_default) client = TestClient(app) def test_level1_override(): response = client.get("/override1?level1=foo") assert response.json() == "foo" assert response.headers["content-type"] == "application/x-level-1" assert "x-level0" in response.headers
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 358.6K bytes - Viewed (0)