diff --git a/sockjs-protocol.py b/sockjs-protocol.py index 5e8438e..6a825f3 100644 --- a/sockjs-protocol.py +++ b/sockjs-protocol.py @@ -545,7 +545,7 @@ def test_close(self): raise websocket.WebSocketConnectionClosedException ws.close() - # Verify WebSocket headers sanity. Server must support + # Verify WebSocket headers sanity. Server must support # Hybi-13 def test_headersSanity(self): for version in ['13']: @@ -589,7 +589,7 @@ def test_empty_frame(self): # correct to have two separate sessions sharing the same # `session_id` at the same time. def test_reuseSessionId(self): - on_close = lambda(ws): self.assertFalse(True) + on_close = lambda ws: self.assertFalse(True) ws_url = 'ws:' + base_url.split(':',1)[1] + \ '/000/' + str(uuid.uuid4()) + '/websocket'