示例#1
0
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()
示例#2
0
def test_profile(request):
    GraphService.forget_all()
    test_profile = request.param
    yield test_profile