From ceac3e90ad046b8506f85db3e8a0a9eb98466c8b Mon Sep 17 00:00:00 2001 From: Heberto Mayorquin Date: Sat, 28 Oct 2023 15:33:02 +0200 Subject: [PATCH] fix tests --- tests/test_on_data/test_behavior_interfaces.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_on_data/test_behavior_interfaces.py b/tests/test_on_data/test_behavior_interfaces.py index 69c1d748b..1f1ebfb6a 100644 --- a/tests/test_on_data/test_behavior_interfaces.py +++ b/tests/test_on_data/test_behavior_interfaces.py @@ -47,7 +47,7 @@ def check_read_nwb(self, nwbfile_path: str): # This is currently structured to with NWBHDF5IO(path=nwbfile_path, mode="r", load_namespaces=True) as io: nwbfile = io.read() - fictrac_position_container = nwbfile.processing["Behavior"].data_interfaces["FicTrac"] + fictrac_position_container = nwbfile.processing["behavior"].data_interfaces["FicTrac"] assert isinstance(fictrac_position_container, Position) assert len(fictrac_position_container.spatial_series) == 10 @@ -82,7 +82,7 @@ def check_read_nwb(self, nwbfile_path: str): # This is currently structured to with NWBHDF5IO(path=nwbfile_path, mode="r", load_namespaces=True) as io: nwbfile = io.read() - fictrac_position_container = nwbfile.processing["Behavior"].data_interfaces["FicTrac"] + fictrac_position_container = nwbfile.processing["behavior"].data_interfaces["FicTrac"] assert isinstance(fictrac_position_container, Position) assert len(fictrac_position_container.spatial_series) == 10