Skip to content

Commit fcf7c0f

Browse files
committed
update _expected_static_cache_state
1 parent 98a50fd commit fcf7c0f

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

tests/conftest.py

Lines changed: 9 additions & 2 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", "setups"]:
208+
for _d in ["datasets", "tasks", "runs"]:
209209
res_paths.append(_c_root_dir / _d)
210210

211211
for _id in ["-1", "2"]:
@@ -221,7 +221,6 @@ def _expected_static_cache_state(root_dir: Path) -> list[Path]:
221221

222222
res_paths.append(_c_root_dir / "datasets" / "30" / "dataset_30.pq")
223223
res_paths.append(_c_root_dir / "runs" / "1" / "description.xml")
224-
res_paths.append(_c_root_dir / "setups" / "1" / "description.xml")
225224

226225
for _id in ["1", "3", "1882"]:
227226
tmp_p = _c_root_dir / "tasks" / _id
@@ -232,6 +231,14 @@ def _expected_static_cache_state(root_dir: Path) -> list[Path]:
232231
]
233232
)
234233

234+
res_paths.extend([
235+
_c_root_dir / "api" / "v1" / "xml" / "setup",
236+
_c_root_dir / "api" / "v1" / "xml" / "setup" / "1",
237+
_c_root_dir / "api" / "v1" / "xml" / "setup" / "1" / "body.bin",
238+
_c_root_dir / "api" / "v1" / "xml" / "setup" / "1" / "headers.json",
239+
_c_root_dir / "api" / "v1" / "xml" / "setup" / "1" / "meta.json",
240+
])
241+
235242
return res_paths
236243

237244

0 commit comments

Comments
 (0)