File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ async def test_list_prefix(self, store: S) -> None:
226
226
for prefix in prefixes :
227
227
observed = tuple (sorted (await _collect_aiterator (store .list_prefix (prefix ))))
228
228
expected : tuple [str , ...] = ()
229
- for key in store_dict . keys () :
229
+ for key in store_dict :
230
230
if key .startswith (prefix ):
231
231
expected += (key .removeprefix (prefix ),)
232
232
expected = tuple (sorted (expected ))
@@ -245,7 +245,7 @@ async def test_list_dir(self, store: S) -> None:
245
245
await store ._set_many (store_dict .items ())
246
246
247
247
keys_observed = await _collect_aiterator (store .list_dir (root ))
248
- keys_expected = {k .removeprefix (root + "/" ).split ("/" )[0 ] for k in store_dict . keys () }
248
+ keys_expected = {k .removeprefix (root + "/" ).split ("/" )[0 ] for k in store_dict }
249
249
250
250
assert sorted (keys_observed ) == sorted (keys_expected )
251
251
You can’t perform that action at this time.
0 commit comments