From ffba4d72a10676ccec9e0753f5d61b42b60e43b8 Mon Sep 17 00:00:00 2001 From: Zain Sohail Date: Tue, 21 May 2024 19:27:07 +0200 Subject: [PATCH] fix test problem --- tests/test_dataset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_dataset.py b/tests/test_dataset.py index f52dac6c..29bd3adb 100644 --- a/tests/test_dataset.py +++ b/tests/test_dataset.py @@ -124,8 +124,8 @@ def test_rearrange_data(zip_file): # noqa: ARG001 def test_load_dataset(requests_mock, zip_buffer): json_path_user = USER_CONFIG_PATH.joinpath("datasets", "datasets.json") data_name = "Test" - data_path_user = USER_DATA_PATH.joinpath("datasets", data_name) _ = ds.load_datasets_dict() # to ensure datasets.json is in user dir + data_path_user = USER_DATA_PATH.joinpath("datasets", data_name) if os.path.exists(data_path_user): # remove dir even if it is not empty