From 8a4f17a3e669e584d522f85c6a3b665ea132fa06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Al=C3=A1n=20Mu=C3=B1oz?= <alan.munoz@ed.ac.uk> Date: Mon, 26 Sep 2022 10:49:14 +0100 Subject: [PATCH] fix(tests): update local dirs --- tests/aliby/network/extraction/test_base.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/aliby/network/extraction/test_base.py b/tests/aliby/network/extraction/test_base.py index 3d806933..9a6566a8 100644 --- a/tests/aliby/network/extraction/test_base.py +++ b/tests/aliby/network/extraction/test_base.py @@ -7,7 +7,13 @@ from extraction.core.functions.loaders import ( load_funs, load_redfuns, ) -from extraction.examples import data +from extraction import local_data_loaders as data +from importlib_resources import files + +# FUTURETODO can be replaced by importlib.resources.files('aliby') after upgrading to 3.11 +files_dir = files("aliby") +data_dir = files_dir.parent.parent / "tests" / "agora" / "data" + dsets1z = data.load_1z() dsets = data.load() -- GitLab