コード例 #1
0
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)
コード例 #2
0
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)
コード例 #3
0
def when_i_import_the_csv_file_into_the_phonebook(step, csvfile):
    path = assets.full_path(csvfile)
    phonebook_action_webi.import_csv_file(path)
コード例 #4
0
ファイル: configfiles.py プロジェクト: jaunis/xivo-acceptance
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)
コード例 #5
0
def when_i_import_the_csv_file_into_the_phonebook(step, csvfile):
    path = assets.full_path(csvfile)
    phonebook_action_webi.import_csv_file(path)
コード例 #6
0
ファイル: configfiles.py プロジェクト: jaunis/xivo-acceptance
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)