Ejemplo n.º 1
0
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')
Ejemplo n.º 2
0
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')
Ejemplo n.º 3
0
def stop_rrdcached(step):
    lib.stop_system_service('rrdcached')
Ejemplo n.º 4
0
def stop_system_service(step, name):
    assert lib.stop_system_service(name)
Ejemplo n.º 5
0
def stop_rrdcached(step):
    lib.stop_system_service('rrdcached')
Ejemplo n.º 6
0
def stop_system_service(step, name):
    assert lib.stop_system_service(name)