Skip to content

Commit

Permalink
move some test functionality to pynxtools
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspie committed Nov 26, 2024
1 parent 19662b2 commit 092cd56
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tests/test_nomad_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,7 @@ def test_parse_nomad_examples(mainfile):
)
def test_example_upload_entry_point_valid(entrypoint, example_path):
"""Test if NOMAD ExampleUploadEntryPoint works."""
expected_upload_files = []
for dirpath, dirnames, filenames in os.walk(example_path):
for filename in filenames:
file_path = os.path.relpath(os.path.join(dirpath, filename), example_path)
expected_upload_files.append(file_path)

example_upload_entry_point_valid(
entrypoint=entrypoint,
expected_upload_files=expected_upload_files,
example_path=example_path,
)

0 comments on commit 092cd56

Please sign in to comment.