Commits

bb b...@gmx.de  committed 191b78d Draft

fixed test

  • Participants
  • Parent commits 891ee5b

Comments (0)

Files changed (1)

File test/app_test.py

 
 def test_communicate_with_websocket_null_message(app, valid_socket):
     valid_socket.receive.return_value = None
-    app._websockets["websocket_1"] = valid_socket
+    app._websockets = {"websocket_1": valid_socket}
     app._communicate_with_websocket(valid_socket, "websocket_1")
     assert app._queue.qsize() == 0
     assert len(app._websockets) == 0