#NEWLINE# def test_schedule_bind_network_multi_agent_fail_one( self ) : #NEWLINE# #INDENT# agents = self . _create_and_set_agents_down ( [ 'host-a' ] ) #NEWLINE# self . _test_schedule_bind_network ( agents , self . network_id ) #NEWLINE# with mock . patch . object ( dhcp_agent_scheduler . LOG , 'info' ) as fake_log : #NEWLINE# #INDENT# self . _test_schedule_bind_network ( agents , fake_log . network_id ) #NEWLINE# self . assertEqual ( 1 , fake_log . call_count )