Skip to content

Commit

Permalink
Add extra test
Browse files Browse the repository at this point in the history
  • Loading branch information
taras committed Oct 1, 2024
1 parent ac8cbd3 commit 4f09276
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_basics.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ async def test_server_handshake_timeout():
assert client_reader.at_eof()


async def test_request_path_and_params():
request_path = "/v1/ws?key=blablabla&data=fhhh"
@pytest.mark.parametrize("request_path", ["/v1/ws?key=blablabla&data=fhhh", "/v1/ws"])
async def test_request_path_and_params(request_path):
def listener_factory(request: picows.WSUpgradeRequest):
assert request.method == b"GET"
assert request.path == request_path.encode()
Expand Down

0 comments on commit 4f09276

Please sign in to comment.