Skip to content

Commit cdb4d3a

Browse files
committed
update conftest.py
1 parent 369ae20 commit cdb4d3a

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

tests/conftest.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def _expected_static_cache_state(root_dir: Path) -> list[Path]:
205205
_c_root_dir = root_dir / "org" / "openml" / "test"
206206
res_paths = [root_dir, _c_root_dir]
207207

208-
for _d in ["datasets", "tasks", "runs"]:
208+
for _d in ["datasets", "runs"]:
209209
res_paths.append(_c_root_dir / _d)
210210

211211
for _id in ["-1", "2"]:
@@ -222,21 +222,21 @@ def _expected_static_cache_state(root_dir: Path) -> list[Path]:
222222
res_paths.append(_c_root_dir / "datasets" / "30" / "dataset_30.pq")
223223
res_paths.append(_c_root_dir / "runs" / "1" / "description.xml")
224224

225-
for _id in ["1", "3", "1882"]:
226-
tmp_p = _c_root_dir / "api/v1/xml/task" / _id
227-
res_paths.extend(
228-
[
229-
tmp_p / "datasplits.arff",
230-
tmp_p / "body.bin",
231-
]
232-
)
233-
234225
res_paths.extend([
235226
_c_root_dir / "api" / "v1" / "xml" / "setup",
236227
_c_root_dir / "api" / "v1" / "xml" / "setup" / "1",
237228
_c_root_dir / "api" / "v1" / "xml" / "setup" / "1" / "body.xml",
238229
])
239230

231+
res_paths.extend([
232+
_c_root_dir / "api_splits" / "get" / "1882" / "Task_1882_splits.arff" / "body.arff",
233+
_c_root_dir / "api_splits" / "get" / "3" / "Task_3_splits.arff" / "body.arff",
234+
_c_root_dir / "api_splits" / "get" / "1" / "Task_1_splits.arff" / "body.arff",
235+
_c_root_dir / "api" / "v1" / "xml" / "task" / "1882" / "body.xml",
236+
_c_root_dir / "api" / "v1" / "xml" / "task" / "3" / "body.xml",
237+
_c_root_dir / "api" / "v1" / "xml" / "task" / "1" / "body.xml",
238+
])
239+
240240
return res_paths
241241

242242

0 commit comments

Comments
 (0)