File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
services/storage/tests/unit Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ async def test_list_paths_pagination(
182182
183183 # ls in the workspace (S3-based)
184184 # ls in the workspace
185- selected_node_id = random .choice (list (nodes . keys () )) # noqa: S311
185+ selected_node_id = random .choice (list (nodes )) # noqa: S311
186186 selected_node_s3_keys = [
187187 Path (s3_object_id ) for s3_object_id in list_of_files [selected_node_id ]
188188 ]
@@ -246,7 +246,7 @@ async def test_list_paths_pagination_large_page(
246246 ],
247247):
248248 project , nodes , list_of_files = with_random_project_with_files
249- selected_node_id = random .choice (list (nodes . keys () )) # noqa: S311
249+ selected_node_id = random .choice (list (nodes )) # noqa: S311
250250 selected_node_s3_keys = [
251251 Path (s3_object_id ) for s3_object_id in list_of_files [selected_node_id ]
252252 ]
@@ -669,7 +669,7 @@ async def test_path_compute_size(
669669 )
670670
671671 # get size of one of the nodes
672- selected_node_id = random .choice (list (nodes . keys () )) # noqa: S311
672+ selected_node_id = random .choice (list (nodes )) # noqa: S311
673673 path = Path (project ["uuid" ]) / f"{ selected_node_id } "
674674 selected_node_s3_keys = [
675675 Path (s3_object_id ) for s3_object_id in list_of_files [selected_node_id ]
You can’t perform that action at this time.
0 commit comments