diff --git a/tests/test_reader.py b/tests/test_reader.py index 51c4089..8eb8d29 100644 --- a/tests/test_reader.py +++ b/tests/test_reader.py @@ -18,7 +18,13 @@ ) def test_ellips_reader(nxdl, reader_name, files_or_dir, tmp_path, caplog): "Generic test from pynxtools." - # test plugin reader + # This ignores the software_TYPE/@version attribute + ignore_sections: Dict[str, List[str]] = { + "===== ATTRS (//entry/instrument/software_NeXuS/program@version)": [ + "DEBUG - value:" + ], + } + test = ReaderTest(nxdl, reader_name, files_or_dir, tmp_path, caplog) test.convert_to_nexus(caplog_level="ERROR", ignore_undocumented=True) - test.check_reproducibility_of_nexus() + test.check_reproducibility_of_nexus(ignore_sections=ignore_sections)