File tree 1 file changed +8
-0
lines changed 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,10 @@ async def test_download_files(python_dataset):
136
136
137
137
minio_mock .download_file .return_value = Path ("/path/to/downloaded_file" )
138
138
minio_mock .get_signed_url .return_value = Path ("http://example.com/signed_url" )
139
+ minio_mock .list_bucket .return_value = [
140
+ Mock (filename = "file1.txt" ),
141
+ Mock (filename = "file2.txt" ),
142
+ ]
139
143
140
144
progress_mock = Mock ()
141
145
python_dataset .minio_polling_interval = 0
@@ -161,6 +165,10 @@ async def test_download_files_with_signed_urls(python_dataset):
161
165
python_dataset .configuration = config
162
166
minio_mock .download_file .return_value = "/path/to/downloaded_file"
163
167
minio_mock .get_signed_url .return_value = "http://example.com/signed_url"
168
+ minio_mock .list_bucket .return_value = [
169
+ Mock (filename = "file1.txt" ),
170
+ Mock (filename = "file2.txt" ),
171
+ ]
164
172
progress_mock = Mock ()
165
173
166
174
python_dataset .servicex = AsyncMock ()
You can’t perform that action at this time.
0 commit comments