Skip to content

Commit

Permalink
rename testing function
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspie committed Oct 14, 2024
1 parent 1d7d94c commit fec7485
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/pynxtools/testing/nomad_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
4 changes: 2 additions & 2 deletions tests/nomad/test_nomad_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

from pynxtools.testing.nomad_example import (
get_file_parameter,
parse_nomad_example,
parse_nomad_examples,
example_upload_entry_point_valid,
)

Expand All @@ -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(
Expand Down

0 comments on commit fec7485

Please sign in to comment.