Skip to content

Commit

Permalink
Update test_main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
CindyvdVries committed Aug 9, 2024
1 parent aa82686 commit ea983e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests_acceptance/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,12 @@ def test_process_input(input_filename):
with open(str(input_file_path), "r") as f:
data = yaml.load(f, Loader=SafeLoaderIgnoreUnknown)
output_filename = Path(data["output-data"]["filename"])

print(f"output_filenam: {output_filename}")
if "*" in output_filename.name:
outputname = output_filename.name
else:
outputname = output_filename.stem + "*"
print(f"outputname: {outputname}")

filenames_list = list(output_filename.parent.glob(outputname))
assert len(filenames_list) > 0, f"No output files generated for {input_filename}"
Expand Down

0 comments on commit ea983e7

Please sign in to comment.