From 0a59a60f5c67aacdf2db58fd321e61b22fdcdd01 Mon Sep 17 00:00:00 2001
From: PGijsbers
Date: Tue, 16 Aug 2022 12:00:44 +0200
Subject: [PATCH] Replace removed file with new target for download test
---
tests/test_datasets/test_dataset_functions.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/test_datasets/test_dataset_functions.py b/tests/test_datasets/test_dataset_functions.py
index 878b2288a..2fa97860b 100644
--- a/tests/test_datasets/test_dataset_functions.py
+++ b/tests/test_datasets/test_dataset_functions.py
@@ -462,9 +462,9 @@ def test__download_minio_file_raises_FileExists_if_destination_in_use(self):
)
def test__download_minio_file_works_with_bucket_subdirectory(self):
- file_destination = pathlib.Path(self.workdir, "custom.csv")
+ file_destination = pathlib.Path(self.workdir, "custom.pq")
_download_minio_file(
- source="http://openml1.win.tue.nl/test/subdirectory/test.csv",
+ source="http://openml1.win.tue.nl/dataset61/dataset_61.pq",
destination=file_destination,
exists_ok=True,
)