Skip to content

Commit e5217ce

Browse files
committed
add asserts
1 parent d9878cf commit e5217ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,11 @@ def test_read(store: Store) -> None:
6363
_ = create_array(store=store, path="array", shape=(10, 10), attributes={"node_type": "array"})
6464

6565
group_r = read(store, path="group")
66+
assert isinstance(group_r, Group)
6667
assert group_r.attrs == {"node_type": "group"}
6768

6869
array_r = read(store, path="array")
70+
assert isinstance(array_r, Array)
6971
assert array_r.attrs == {"node_type": "array"}
7072
assert array_r.shape == (10, 10)
7173

0 commit comments

Comments
 (0)