Skip to content

Commit

Permalink
more test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssadai committed Feb 5, 2025
1 parent 7bcc276 commit 9cd456b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/test_routing.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,13 @@ def test_request_without_trailing_slash_not_redirected(

@pytest.mark.parametrize(
"invalid_route",
["/query/", "/query/?min_age=20", "/attributes/nb:SomeClass/"],
[
"/query/",
"/query/?min_age=20",
"/attributes/",
"/assessments/",
"/assessments/vocab/",
],
)
def test_request_with_trailing_slash_not_redirected(
test_app, disable_auth, invalid_route
Expand Down

0 comments on commit 9cd456b

Please sign in to comment.