예제 #1
0
파일: steps.py 프로젝트: afrank/scalr
def after_scenario(scenario):
    if hasattr(lib.world, 'api_servers'):
        for api_server in lib.world.api_servers.values():
            api_server.stop()
    if hasattr(lib.world, 'script') and lib.world.script:
        lib.world.script.stop()
    lib.stop_system_service('rrdcached')
예제 #2
0
파일: steps.py 프로젝트: zeus911/scalr
def after_scenario(scenario):
    if hasattr(lib.world, 'api_servers'):
        for api_server in lib.world.api_servers.values():
            api_server.stop()
    if hasattr(lib.world, 'script') and lib.world.script:
        lib.world.script.stop()
    lib.stop_system_service('rrdcached')
예제 #3
0
def stop_rrdcached(step):
    lib.stop_system_service('rrdcached')
예제 #4
0
파일: steps.py 프로젝트: afrank/scalr
def stop_system_service(step, name):
    assert lib.stop_system_service(name)
예제 #5
0
파일: steps.py 프로젝트: Zealsathish/scalr
def stop_rrdcached(step):
    lib.stop_system_service('rrdcached')
예제 #6
0
def stop_system_service(step, name):
    assert lib.stop_system_service(name)