コード例 #1
0
def when_i_restart_asterisk(step):
    sysutils.restart_service('asterisk')
    sysutils.restart_service('xivo-ctid')
コード例 #2
0
def given_i_set_the_http_proxy_environment_variables_to_group1(step, http_proxy):
    sysutils.restart_service('xivo-confd', env={'HTTP_PROXY': http_proxy})
コード例 #3
0
ファイル: cti_helper.py プロジェクト: jaunis/xivo-acceptance
def restart_server():
    sysutils.restart_service('xivo-ctid')
    time.sleep(10)
コード例 #4
0
def given_i_set_the_http_proxy_environment_variables_to_group1(
        step, http_proxy):
    sysutils.restart_service('xivo-restapi', env={'HTTP_PROXY': http_proxy})
コード例 #5
0
def when_i_restart_asterisk(step):
    sysutils.restart_service('asterisk')
    sysutils.restart_service('xivo-ctid')
コード例 #6
0
def restart_server():
    sysutils.restart_service('xivo-ctid')
    time.sleep(10)