Skip to content

Commit 33c6ff4

Browse files
committed
Update
1 parent c9484c6 commit 33c6ff4

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

tests/test_nwb.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,23 @@ def test_NWBFile():
8989
assert isinstance(nwb.io, pynwb.NWBHDF5IO)
9090
nwb.close()
9191

92+
assert nwb.keys() == [
93+
"position_time_support",
94+
"epochs",
95+
"z",
96+
"y",
97+
"x",
98+
"rz",
99+
"ry",
100+
"rx",
101+
]
102+
103+
for a, b in zip(nwb.items(), nwb.data.items()):
104+
assert a == b
105+
106+
for a, b in zip(nwb.values(), nwb.data.values()):
107+
assert a == b
108+
92109

93110
def test_NWBFile_missing_file():
94111
with pytest.raises(FileNotFoundError) as e_info:

0 commit comments

Comments
 (0)