Skip to content

Commit

Permalink
馃帹 [pre-commit.ci] Auto format from pre-commit.com hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Aug 31, 2022
1 parent 6f18503 commit 7c7c76e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_ws_router.py
Expand Up @@ -115,9 +115,12 @@ def test_router_ws_depends_with_override():
with client.websocket_connect("/router-ws-depends/") as websocket:
assert websocket.receive_text() == "Override"


def test_router_with_params():
client = TestClient(app)
with client.websocket_connect("/router/path/to/file?queryparam=a_query_param") as websocket:
with client.websocket_connect(
"/router/path/to/file?queryparam=a_query_param"
) as websocket:
data = websocket.receive_text()
assert data == "path/to/file"
data = websocket.receive_text()
Expand Down

0 comments on commit 7c7c76e

Please sign in to comment.