- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for test_route_classes (0.3 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_custom_route_class.py
], ) def test_get_path(path, expected_status, expected_response): response = client.get(path) assert response.status_code == expected_status assert response.json() == expected_response def test_route_classes(): routes = {} for r in app.router.routes: assert isinstance(r, Route) routes[r.path] = r assert getattr(routes["/a/"], "x_type") == "A" # noqa: B009
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 3.3K bytes - Click Count (0)