File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
services/storage/tests/unit Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -592,17 +592,20 @@ async def test_start_export_data(
592592):
593593 _ , src_projects_list = await random_project_with_files (project_params )
594594
595- paths_to_export : set [SimcoreS3FileID ] = set ()
595+ all_available_files : set [SimcoreS3FileID ] = set ()
596596 for x in src_projects_list .values ():
597- paths_to_export |= x .keys ()
597+ all_available_files |= x .keys ()
598+
599+ nodes_in_project_to_export = {
600+ TypeAdapter (PathToExport ).validate_python ("/" .join (Path (x ).parts [0 :2 ]))
601+ for x in all_available_files
602+ }
598603
599604 result = await _request_start_export_data (
600605 storage_rabbitmq_rpc_client ,
601606 user_id ,
602607 product_name ,
603- paths_to_export = [
604- TypeAdapter (PathToExport ).validate_python (x ) for x in paths_to_export
605- ],
608+ paths_to_export = list (nodes_in_project_to_export ),
606609 )
607610
608611 assert re .fullmatch (
You can’t perform that action at this time.
0 commit comments