#NEWLINE# def test_bind_new_router( self ) : #NEWLINE# #INDENT# router = self . _make_router ( self . fmt , tenant_id = str ( uuid . uuid4 ( ) ) , name = 'r1' ) #NEWLINE# with mock . patch . object ( l3_agent_scheduler . LOG , 'debug' ) as flog : #NEWLINE# #INDENT# self . _test_schedule_bind_router ( args . agent1 , router ) #NEWLINE# self . assertEqual ( 1 , flog . call_count ) #NEWLINE# ( args , kwargs ) = flog . call_args #NEWLINE# self . assertIn ( 'is scheduled' , args [ 0 ] )