#NEWLINE# def test_instance_soft_delete_everywhere( self ) : #NEWLINE# #INDENT# self . _setup_attrs ( up = False ) #NEWLINE# instance = { #NEWLINE# #INDENT# 'uuid' : 'meow' , #NEWLINE# #UNINDENT# } #NEWLINE# self . mox . StubOutWithMock ( self . src_compute_api , 'soft_delete' ) #NEWLINE# self . mox . StubOutWithMock ( self . mid_compute_api , 'soft_delete' ) #NEWLINE# self . mox . StubOutWithMock ( self . tgt_compute_api , 'soft_delete' ) #NEWLINE# self . mid_compute_api . soft_delete ( self . ctxt , instance ) #NEWLINE# self . tgt_compute_api . soft_delete ( self . ctxt , instance ) #NEWLINE# self . mox . ReplayAll ( ) #NEWLINE# self . src_msg_runner . instance_delete_everywhere ( self . ctxt , instance , 'soft' )