Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sockjs-protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']:
Expand Down Expand Up @@ -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'
Expand Down