Skip to content

Commit 9accf24

Browse files
committed
use cached run in test_api/test_run.py
1 parent f5f0df1 commit 9accf24

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/test_api/test_run.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ def _assert_run_shape(run: OpenMLRun) -> None:
3030

3131

3232
@pytest.mark.test_server()
33-
def test_run_v1_get(run_v1):
34-
run = run_v1.get(run_id=119)
33+
def test_run_v1_get(run_v1, test_files_directory):
34+
openml.config.set_root_cache_directory(test_files_directory)
35+
run = run_v1.get(run_id=1)
3536
_assert_run_shape(run)
3637

3738

0 commit comments

Comments
 (0)