We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbb48de commit d1e39c0Copy full SHA for d1e39c0
1 file changed
test/test_websocket.py
@@ -64,7 +64,7 @@ def test_terminate_with_closing(self):
64
self.assertTrue(ws.client_terminated)
65
self.assertTrue(ws.server_terminated)
66
self.assertTrue(ws.terminated)
67
- c.assert_called_once_with(1000, 'test closing')
+ c.assert_called_once_with(1000, b'test closing')
68
cc.assert_called_once_with()
69
self.assertIsNone(ws.stream)
70
self.assertIsNone(ws.environ)
@@ -167,7 +167,7 @@ def test_closing_message_received(self):
167
ws.stream = s
168
ws.stream.closing = CloseControlMessage(code=1000, reason='test closing')
169
ws.process(b'unused for this test')
170
171
172
173
if __name__ == '__main__':
0 commit comments