diff --git a/tests/test_routes_design_systems.py b/tests/test_routes_design_systems.py index eca7396..8ad2389 100644 --- a/tests/test_routes_design_systems.py +++ b/tests/test_routes_design_systems.py @@ -44,6 +44,11 @@ def test_every_endpoint_is_reachable_on_the_app(): } assert rules == { "/api/design-systems", + # Static segment, declared before the rule reads it — Quart's + # int converter will not match "starter-roles", so the two cannot + # collide. Worth stating: a static-vs-dynamic sibling on the same prefix + # is exactly where a silently-shadowed route hides. + "/api/design-systems/starter-roles", "/api/design-systems/", "/api/design-systems//resolved", "/api/design-systems//stylesheet",