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')
def stop_rrdcached(step): lib.stop_system_service('rrdcached')
def stop_system_service(step, name): assert lib.stop_system_service(name)