Skip to content

Commit 6741a0d

Browse files
Add unit test
1 parent c1c1fe4 commit 6741a0d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_store/test_object.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ def test_store_init_raises(self) -> None:
7575
with pytest.raises(TypeError):
7676
ObjectStore("path/to/store")
7777

78+
async def test_store_delete_nonexistent_key_does_not_raise(self, store: ObjectStore) -> None:
79+
await store.delete("nonexistent_key")
80+
7881

7982
@pytest.mark.slow_hypothesis
8083
def test_zarr_hierarchy():

0 commit comments

Comments
 (0)