#NEWLINE# def test_broadcast_routing_without_ourselves( self ) : #NEWLINE# #INDENT# method = 'our_fake_method' #NEWLINE# method_kwargs = dict ( arg1 = 1 , arg2 = 2 ) #NEWLINE# direction = 'down' #NEWLINE# cells = set ( ) #NEWLINE# def our_fake_method( message , **kwargs ) : #NEWLINE# #INDENT# cells . add ( message . routing_path ) #NEWLINE# #UNINDENT# fakes . stub_bcast_methods ( self , 'our_fake_method' , our_fake_method ) #NEWLINE# bcast_message = messaging . _BroadcastMessage ( self . msg_runner , self . ctxt , method , method_kwargs , direction , run_locally = False ) #NEWLINE# bcast_message . process ( ) #NEWLINE# self . assertEqual ( 7 , len ( cells ) )