#NEWLINE# def test_process_routers( self ) : #NEWLINE# #INDENT# ( router , port ) = prepare_router_data ( ) #NEWLINE# driver = self . _mock_driver_and_hosting_device ( self . routing_helper ) #NEWLINE# self . routing_helper . _process_router = mock . Mock ( ) #NEWLINE# self . routing_helper . _process_routers ( [ router ] , None ) #NEWLINE# ri = router . routing_helper . router_info [ router [ 'id' ] ] #NEWLINE# driver . router_added . assert_called_with ( ri ) #NEWLINE# self . routing_helper . _process_router . assert_called_with ( ri )