Skip to content

Commit

Permalink
Fix / improve styling in test class
Browse files Browse the repository at this point in the history
  • Loading branch information
xmatthias committed Feb 19, 2024
1 parent 61e2170 commit 00bde70
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/rpc/test_rpc_apiserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,9 @@ def test_api_auth():

def test_api_ws_auth(botclient):
ftbot, client = botclient
def url(token): return f"/api/v1/message/ws?token={token}"

def url(token):
return f"/api/v1/message/ws?token={token}"

bad_token = "bad-ws_token"
with pytest.raises(WebSocketDisconnect):
Expand Down

0 comments on commit 00bde70

Please sign in to comment.