- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for catch_warnings (0.15 sec)
-
tests/test_include_router_defaults_overrides.py
assert not override4 or "x-level4" in response.headers assert not override5 or "x-level5" in response.headers def test_openapi(): client = TestClient(app) with warnings.catch_warnings(record=True) as w: warnings.simplefilter("always") response = client.get("/openapi.json") assert issubclass(w[-1].category, UserWarning)
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 358.6K bytes - Viewed (0)