Design surface: starter roles, theme literals, and the view that could only inspect itself #97
@@ -44,6 +44,11 @@ def test_every_endpoint_is_reachable_on_the_app():
|
|||||||
}
|
}
|
||||||
assert rules == {
|
assert rules == {
|
||||||
"/api/design-systems",
|
"/api/design-systems",
|
||||||
|
# Static segment, declared before the <int:...> 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/<int:design_system_id>",
|
"/api/design-systems/<int:design_system_id>",
|
||||||
"/api/design-systems/<int:design_system_id>/resolved",
|
"/api/design-systems/<int:design_system_id>/resolved",
|
||||||
"/api/design-systems/<int:design_system_id>/stylesheet",
|
"/api/design-systems/<int:design_system_id>/stylesheet",
|
||||||
|
|||||||
Reference in New Issue
Block a user