Skip to content

Commit bcbe25e

Browse files
committed
Add partially satisiable ranges
1 parent 4dffea5 commit bcbe25e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/zarr/testing/store.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@ async def test_read_only_store_raises(self, open_kwargs: dict[str, Any]) -> None
158158
(b"\x01\x02\x03\x04", OffsetByteRequest(1)),
159159
(b"\x01\x02\x03\x04", SuffixByteRequest(1)),
160160
(b"", None),
161+
# Partially satisfiable ranges
162+
(b"\x01\x02\x03\x04", RangeByteRequest(3, 5)),
163+
(b"\x01\x02\x03\x04", SuffixByteRequest(5)),
161164
],
162165
)
163166
async def test_get(self, store: S, key: str, data: bytes, byte_range: ByteRequest) -> None:

0 commit comments

Comments
 (0)