Fix / improve styling in test class

This commit is contained in:
Matthias
2024-02-19 19:14:44 +01:00
parent 61e2170fc1
commit 00bde70f73

View File

@@ -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):