#NEWLINE# def test_websocket_stores_instance_list( ) : #NEWLINE# #INDENT# socket = mock . Mock ( ) #NEWLINE# clients = [ websocket . WebSocket ( socket ) , websocket . WebSocket ( socket ) ] #NEWLINE# for c in clients : #NEWLINE# #INDENT# assert ( c in websocket . WebSocket . instances )