diff --git a/src/pynxtools/testing/nomad_example.py b/src/pynxtools/testing/nomad_example.py index 4cc7fc217..9a680268c 100644 --- a/src/pynxtools/testing/nomad_example.py +++ b/src/pynxtools/testing/nomad_example.py @@ -56,7 +56,7 @@ def get_file_parameter(example_path: str): yield pytest.param(os.path.join(root, file), id=file) -def parse_nomad_example(mainfile): +def parse_nomad_examples(mainfile): """Test if NOMAD example works.""" archive = EntryArchive() archive.m_context = Context() diff --git a/tests/nomad/test_nomad_examples.py b/tests/nomad/test_nomad_examples.py index 795ab77c0..14ad378d8 100644 --- a/tests/nomad/test_nomad_examples.py +++ b/tests/nomad/test_nomad_examples.py @@ -30,7 +30,7 @@ from pynxtools.testing.nomad_example import ( get_file_parameter, - parse_nomad_example, + parse_nomad_examples, example_upload_entry_point_valid, ) @@ -42,7 +42,7 @@ ) def test_nomad_examples(mainfile): """Test if NOMAD examples work.""" - parse_nomad_example(mainfile) + parse_nomad_examples(mainfile) @pytest.mark.parametrize(