#NEWLINE# def test_process_delete( self ) : #NEWLINE# #INDENT# values_before = self . _get_base_values ( ) #NEWLINE# process = db . process_create ( self . user_ctxt , process_after , [ self . network [ 'network_id' ] ] , [ self . securitygroup [ 'securitygroup_id' ] ] ) #NEWLINE# process_after = db . process_delete ( self . user_ctxt , self . gid , process [ 'pid' ] ) #NEWLINE# self . assertEqual ( 1 , process_after [ 'deleted' ] ) #NEWLINE# self . assertIsNotNone ( process_after . get ( 'deleted_at' ) )