#NEWLINE# def test_job_libs_names( self ) : #NEWLINE# #INDENT# ctx = context . ctx ( ) #NEWLINE# job_binary = self . api . job_binary_create ( ctx , SAMPLE_JOB_BINARY ) #NEWLINE# job_binary_id_0 = job_binary [ 'id' ] #NEWLINE# jb_1_values = copy . copy ( SAMPLE_JOB_BINARY ) #NEWLINE# jb_1_values [ 'name' ] = 'some_other_name' #NEWLINE# job_binary = self . api . job_binary_create ( ctx , jb_1_values ) #NEWLINE# job_binary_id_1 = job_binary [ 'id' ] #NEWLINE# job_values = copy . copy ( SAMPLE_JOB ) #NEWLINE# job_values [ 'libs' ] = [ job_binary_id_0 , job_binary_id_1 ] #NEWLINE# job = self . api . job_create ( ctx , job_values ) #NEWLINE# names = self . api . job_lib_names ( ctx , job ) #NEWLINE# self . assertEqual ( [ 'job_binary_test' , 'some_other_name' ] , names )