Skip to content

Commit

Permalink
Merge pull request #133 from Deltares/bugfix/DEI-249-fix-acceptance-t…
Browse files Browse the repository at this point in the history
…ests

Bugfix/dei 249 fix acceptance tests
  • Loading branch information
mKlapwijk authored Nov 18, 2024
2 parents aa0ccab + 5699393 commit 2ba0ee7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests_acceptance/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ def test_process_input(input_filename):
filenames_list = list(reference_files_path.glob(outputname))
assert len(filenames_list) > 0, f"No output files generated for {input_filename}"
for filename in filenames_list:
generated_nc = _xr.open_dataset(output_filename.parent / filename.name)
reference_nc = _xr.open_dataset(filename)
generated_nc = _xr.open_dataset(output_filename.parent / filename.name, engine="netcdf4")
reference_nc = _xr.open_dataset(filename, engine="netcdf4")

# Compare the datasets if they have matching variables and coordinates
assert generated_nc.equals(
Expand Down

0 comments on commit 2ba0ee7

Please sign in to comment.