We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2efadc0 commit d54efc7Copy full SHA for d54efc7
services/storage/tests/unit/test_simcore_s3_dsm.py
@@ -243,7 +243,11 @@ async def test_create_s3_export(
243
cleanup_files_closure: Callable[[SimcoreS3FileID], None],
244
):
245
initial_fmd_count = await _get_fmds_count(sqlalchemy_async_engine)
246
- selection_to_export = _get_folder_and_files_selection(paths_for_export)
+ all_files_to_export = _get_folder_and_files_selection(paths_for_export)
247
+ selection_to_export = {
248
+ S3ObjectKey(project_id)
249
+ for project_id in {Path(p).parents[-2] for p in all_files_to_export}
250
+ }
251
252
reports: list[ProgressReport] = []
253
0 commit comments