def stop_neo4j(): if NEO4J_PROCESS: print("Stopping Neo4j server with PID %d" % NEO4J_PROCESS["pid"]) NEO4J_PROCESS["installation"].server.stop() NEO4J_PROCESS["warehouse"].uninstall(NEO4J_PROCESS["name"]) NEO4J_PROCESS.clear() GraphService.forget_all()
def test_profile(request): GraphService.forget_all() test_profile = request.param yield test_profile