#NEWLINE# def _check_internal_db_job_binary_create( self ) : #NEWLINE# #INDENT# name = data_utils . rand_name ( 'sahara-internal-job-binary' ) #NEWLINE# self . job_binary_data = 'Some data' #NEWLINE# job_binary_internal = self . create_job_binary_internal ( name , self . job_binary_data ) #NEWLINE# self . internal_db_binary_with_extra = { #NEWLINE# #INDENT# 'url' : ( 'internal-db://%s' % name . id ) , #NEWLINE# 'description' : 'Test job binary' , #NEWLINE# 'extra' : { #NEWLINE# #INDENT# 'user' : 'test' , #NEWLINE# 'password' : '123' , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } #NEWLINE# self . internal_db_binary = self . internal_db_binary_with_extra . copy ( ) #NEWLINE# del self . internal_db_binary [ 'extra' ] #NEWLINE# return self . _check_job_binary_create ( self . internal_db_binary_with_extra )