File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -458,23 +458,17 @@ async def test_list_prefix(self, store: S) -> None:
458458 a_keys = ["a/b/c/zarr.json" , "a/b/zarr.json" , "a/zarr.json" ]
459459 ab_keys = ["a/b/c/zarr.json" , "a/b/zarr.json" ]
460460
461- # query prefix -> expected keys
462461 test_cases : dict [str , list [str ]] = {
463- # empty prefix returns everything
464462 "" : all_keys ,
465- # with trailing /
466463 "a/" : a_keys ,
467464 "a/b/" : ab_keys ,
468465 "a/b/c/" : ["a/b/c/zarr.json" ],
469466 "a_extra/" : ["a_extra/zarr.json" ],
470- # without trailing / should behave the same as with /
471467 "a" : a_keys ,
472468 "a/b" : ab_keys ,
473469 "a/b/c" : ["a/b/c/zarr.json" ],
474470 "a_extra" : ["a_extra/zarr.json" ],
475- # partial prefix that doesn't match any directory
476471 "a_e" : [],
477- # prefix that doesn't match anything
478472 "b" : [],
479473 "b/" : [],
480474 }
You can’t perform that action at this time.
0 commit comments