Skip to content

Commit

Permalink
add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssadai committed Feb 12, 2025
1 parent ae8fee6 commit b184c06
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 @@ -52,7 +52,13 @@ async def mock_httpx_get(self, **kwargs):

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

0 comments on commit b184c06

Please sign in to comment.