Skip to content

Commit

Permalink
fix duplicate parametrization
Browse files Browse the repository at this point in the history
  • Loading branch information
adriangb committed Sep 3, 2022
1 parent f6de20f commit 72fbaa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_routing.py
Original file line number Diff line number Diff line change
Expand Up @@ -847,12 +847,12 @@ def test_mount_middleware(
"route",
[
mounted_routes_with_middleware,
mounted_routes_with_middleware,
mounted_app_with_middleware,
],
)
def test_mount_middleware_url_path_for(route: BaseRoute) -> None:
"""Checks that url_path_for still works with middleware on Mounts"""
router = Router([route])
router = Router([mounted_routes_with_middleware])
assert router.url_path_for("route") == "/http/"


Expand Down

0 comments on commit 72fbaa6

Please sign in to comment.