We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c20f22 commit 7e57779Copy full SHA for 7e57779
1 file changed
tests/test_api/test_run.py
@@ -29,12 +29,9 @@ def _assert_run_shape(run: OpenMLRun) -> None:
29
assert isinstance(run.task_id, int)
30
31
32
-def test_run_v1_get(run_v1, with_test_cache):
33
- import os
34
-
35
- # Run 1 exists on the remote test server; the local docker server only seeds run 25.
36
- run_id = 25 if os.getenv("OPENML_USE_LOCAL_SERVICES") == "true" else 1
37
- run = run_v1.get(run_id=run_id)
+def test_run_v1_get(run_v1, test_files_directory):
+ openml.config.set_root_cache_directory(test_files_directory)
+ run = run_v1.get(run_id=1)
38
_assert_run_shape(run)
39
40
0 commit comments