#NEWLINE# def test_announce_capabilities( self ) : #NEWLINE# #INDENT# self . _setup_attrs ( 'api-cell' , 'api-cell!child-cell1' ) #NEWLINE# cell_state = cell_state . src_state_manager . child_cells [ 'child-cell1' ] #NEWLINE# self . src_state_manager . child_cells = { #NEWLINE# #INDENT# 'child-cell1' : cell_state , #NEWLINE# #UNINDENT# } #NEWLINE# self . mox . StubOutWithMock ( self . tgt_msg_runner , 'tell_parents_our_capabilities' ) #NEWLINE# self . tgt_msg_runner . tell_parents_our_capabilities ( self . ctxt ) #NEWLINE# self . mox . ReplayAll ( ) #NEWLINE# self . src_msg_runner . ask_children_for_capabilities ( self . ctxt )