def neo4j_test_ws_dir(datafiles):
return datafiles
# @pytest.fixture(scope="session")
# def workspace(request, data_directory):
# wsconf_file = data_directory.join("workspace.yaml")
# temp_root = tempfile.mkdtemp()
# ws = Workspace("saapy-test-ws",
# temp_root,
# "saapy-test-ws",
# configuration_text=wsconf_file.read_text("utf-8"))
#
# def fin():
# shutil.rmtree(temp_root)
#
# request.addfinalizer(fin)
# return ws # provide the fixture value
评论列表
文章目录