def _install_chan_test(): asset_full_path = assets.full_path('chan_test.so') remote_path = '/usr/lib/asterisk/modules/chan_test.so' command = [ 'scp', asset_full_path, '%s:%s' % (world.config.xivo_host, remote_path) ] subprocess.call(command)
def _install_chan_test(): asset_full_path = assets.full_path('chan_test.so') remote_path = '/usr/lib/asterisk/modules/chan_test.so' command = ['scp', asset_full_path, '%s:%s' % (world.config.xivo_host, remote_path)] subprocess.call(command)
def when_i_import_the_csv_file_into_the_phonebook(step, csvfile): path = assets.full_path(csvfile) phonebook_action_webi.import_csv_file(path)
def type_file_to_import(file_name): input_file_name = world.browser.find_element_by_id('it-import') asset_full_path = assets.full_path(file_name) input_file_name.send_keys(asset_full_path)