#NEWLINE# def setup( self , context ) : #NEWLINE# #INDENT# self . log_basename = context . spec . label #NEWLINE# self . host_json_config = self . _load_json_config ( context ) #NEWLINE# self . config_file_on_device = self . device . path . join ( self . device_working_directory , os . path . basename ( self . host_json_config ) ) #NEWLINE# self . device . push_file ( self . host_json_config , self . config_file_on_device , timeout = 60 ) #NEWLINE# self . command = '{} {}' . format ( self . device_binary , self . config_file_on_device ) #NEWLINE# time_buffer = 30 #NEWLINE# self . timeout = ( context . duration + time_buffer )