File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
services/storage/tests/unit Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -475,7 +475,7 @@ async def test_list_paths_with_display_name_containing_slashes(
475475 expected_paths = _filter_and_group_paths_one_level_deeper (
476476 selected_node_s3_keys , selected_path_filter [0 ]
477477 )
478- await _assert_list_paths (
478+ page_of_paths = await _assert_list_paths (
479479 initialized_app ,
480480 client ,
481481 location_id ,
@@ -484,3 +484,8 @@ async def test_list_paths_with_display_name_containing_slashes(
484484 expected_paths = expected_paths ,
485485 check_total = False ,
486486 )
487+ assert page_of_paths .items [0 ].display_path == Path (
488+ quote (project_name_with_slashes , safe = "" )
489+ ) / quote (
490+ node_name_with_non_ascii , safe = ""
491+ ), "display path parts should be url encoded"
You can’t perform that action at this time.
0 commit comments