Skip to content

Commit

Permalink
initialize client manager in test client
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed May 15, 2016
1 parent a5a6e73 commit f999a70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flask_socketio/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def _mock_send_packet(sid, pkt):
self.socketio = socketio
socketio.server._send_packet = _mock_send_packet
socketio.server.environ[self.sid] = {}
socketio.server.manager.initialize(socketio.server)
self.connect(namespace)

def connect(self, namespace=None):
Expand Down

0 comments on commit f999a70

Please sign in to comment.