Final notes [2]
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
class TestWebSocket:
|
||||
|
||||
def test_ws_connect_no_user_id(self, test_client):
|
||||
@@ -9,4 +7,4 @@ class TestWebSocket:
|
||||
def test_ws_connect_invalid_session(self, test_client):
|
||||
|
||||
_, ws = test_client.websocket("/ws/chat?user_id=invalid123")
|
||||
assert ws is not None
|
||||
assert ws is not None
|
||||
|
||||
Reference in New Issue
Block a user