Example #1
0
def when_i_restart_asterisk(step):
    sysutils.restart_service('asterisk')
    sysutils.restart_service('xivo-ctid')
Example #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})
Example #3
0
def restart_server():
    sysutils.restart_service('xivo-ctid')
    time.sleep(10)
Example #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})
Example #5
0
def when_i_restart_asterisk(step):
    sysutils.restart_service('asterisk')
    sysutils.restart_service('xivo-ctid')
Example #6
0
def restart_server():
    sysutils.restart_service('xivo-ctid')
    time.sleep(10)