Skip to content

Commit c7adc3f

Browse files
committed
cleanup
1 parent 4ff48a6 commit c7adc3f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/v3/test_store/test_stateful_store.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -224,15 +224,15 @@ def check_num_keys_equal(self) -> None:
224224

225225
@invariant()
226226
def check_keys(self) -> None:
227-
# For local store, this can be empty if there are no files,
228-
# but there are subfolders that weren't cleared.
229227
keys = list(self.store.list())
230228

231-
# if len(keys) == 0:
232-
# assert self.store.empty() is True
229+
# NOTE: A local store can be non-empty if there are no files,
230+
# but there are subfolders that weren't cleared.
231+
if len(keys) == 0:
232+
assert self.store.empty() is True
233233

234-
# elif len(keys) != 0:
235-
# assert self.store.empty() is False
234+
elif len(keys) != 0:
235+
assert self.store.empty() is False
236236

237237
for key in keys:
238238
assert self.store.exists(key) is True

0 commit comments

Comments
 (0)