#NEWLINE# @ catch_notimplementederror #NEWLINE# def test_destroy_instance( self ) : #NEWLINE# #INDENT# ( instance_ref , network_info ) = self . _get_running_instance ( ) #NEWLINE# self . assertIn ( instance_ref [ 'name' ] , self . connection . list_instances ( ) ) #NEWLINE# self . connection . destroy ( self . ctxt , instance_ref , network_info ) #NEWLINE# self . assertNotIn ( instance_ref [ 'name' ] , self . connection . list_instances ( ) )