Skip to content

Commit

Permalink
incorporate Deepak's edits
Browse files Browse the repository at this point in the history
  • Loading branch information
e-marshall committed Aug 12, 2024
1 parent 619e043 commit 8e6f03c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/v3/test_store/test_stateful_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def supports_writes(self):
class ZarrStoreStateMachine(RuleBasedStateMachine):
def __init__(self): # look into using run_machine_as_test()
super().__init__()
self.model = {}
self.model: dict[str, bytes] = {}
self.store = SyncStoreWrapper(MemoryStore(mode="w"))

@rule(key=paths, data=st.binary(min_size=0, max_size=100))
Expand Down Expand Up @@ -149,6 +149,7 @@ def get_partial_values(self, data) -> None:
start = byte_range[0] or 0
step = byte_range[1]
stop = start + step if step is not None else None
assert model_vals[start:stop] is not None
model_vals_ls.append(model_vals[start:stop])

assert all(
Expand Down

0 comments on commit 8e6f03c

Please sign in to comment.