From 5940bb35f01b5fe84ec86fc674d68825e6bc8ccd Mon Sep 17 00:00:00 2001 From: Cody Baker Date: Fri, 30 Aug 2024 21:36:51 -0400 Subject: [PATCH] why doesn't Windows fail though it's in the logs? --- tests/test_inspector.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_inspector.py b/tests/test_inspector.py index 60658c471..a78ace22b 100644 --- a/tests/test_inspector.py +++ b/tests/test_inspector.py @@ -675,7 +675,7 @@ def test_inspect_nwbfile_dandi_config_violation_and_above_entire_registry(self): def test_inspect_nwbfile_dandi_config_critical_only_entire_registry_cli(self): console_output_file_path = self.tempdir / "test_console_output.txt" - os.system( + status = os.system( f"nwbinspector {str(self.tempdir)} --overwrite --config dandi --threshold BEST_PRACTICE_VIOLATION" f"> {console_output_file_path}" ) @@ -686,6 +686,8 @@ def test_inspect_nwbfile_dandi_config_critical_only_entire_registry_cli(self): skip_first_newlines=True, ) + return status + class TestCheckUniqueIdentifiersPass(TestCase): maxDiff = None