#NEWLINE# def test_process_update( self ) : #NEWLINE# #INDENT# values_before = self . _get_base_values ( ) #NEWLINE# process = db . process_create ( self . user_ctxt , values_before , [ self . network [ 'network_id' ] ] , [ self . securitygroup [ 'securitygroup_id' ] ] ) #NEWLINE# values = { #NEWLINE# #INDENT# 'display_name' : 'test' , #NEWLINE# 'fs_endpoint' : 'fs_data_update' , #NEWLINE# #UNINDENT# } #NEWLINE# process_after = db . process_update ( self . user_ctxt , self . gid , process [ 'pid' ] , values ) #NEWLINE# self . assertEqual ( process_after [ 'display_name' ] , 'test' ) #NEWLINE# self . assertEqual ( process_after [ 'fs_endpoint' ] , 'fs_data_update' ) #NEWLINE# self . assertEqual ( process_after [ 'shm_endpoint' ] , 'shm_data_original' ) #NEWLINE# self . assertEqual ( process_after [ 'ipc_endpoint' ] , 'ipc_data_original' )