diff --git a/tests/routing/test_routing_with_lt_gt_syntax.py b/tests/routing/test_routing_with_lt_gt_syntax.py index 2640c2a..9f7e403 100644 --- a/tests/routing/test_routing_with_lt_gt_syntax.py +++ b/tests/routing/test_routing_with_lt_gt_syntax.py @@ -123,8 +123,8 @@ async def websocket_params(session: WebSocket): routes=[ Path("/", handler=users), Path("/me", handler=user_me), - Path("/{username>", handler=user), - Path("/{username>:disable", handler=disable_user, methods=["PUT"]), + Path("/", handler=user), + Path("/:disable", handler=disable_user, methods=["PUT"]), Path("/nomatch", handler=user_no_match), ], ),