Skip to content

Commit 69bcc13

Browse files
committed
Force compatibility check during unit tests
1 parent 8993059 commit 69bcc13

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_aind_data_mapper.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,16 @@ def test_instrument_acquisition_compatibility(self):
9191
assert rig_mapped is not None
9292
compatibility_check.InstrumentAcquisitionCompatibility(
9393
instrument=rig_mapped, acquisition=session_mapped
94-
).run_compatibility_check()
94+
).run_compatibility_check(raise_for_missing_devices=True)
9595

9696
def test_mapper_cli(self):
9797
DataMapperCli(
9898
data_path=self.data_path,
9999
repo_path=self.repo_path,
100100
session_end_time=self.session_end_time,
101101
).cli_cmd()
102-
instrument_path = self.data_path / "instrument.json"
103-
acquisition_path = self.data_path / "acquisition.json"
102+
instrument_path = self.data_path / "instrument_vrforaging.json"
103+
acquisition_path = self.data_path / "acquisition_vrforaging.json"
104104

105105
self.assertTrue(instrument_path.exists())
106106
self.assertTrue(acquisition_path.exists())

0 commit comments

Comments
 (0)