Skip to content

Commit

Permalink
Add error message to test_mppnccombine_fast_collate_exe
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeGat committed Aug 12, 2024
1 parent ff21c8f commit aa4dcd5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/model_config_tests/qa/test_access_esm1p5_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,10 @@ def test_mppnccombine_fast_collate_exe(self, config):
"collate.exe", "config.yaml", VALID_MPPNCCOMBINE_EXE
)

assert "mpi" in config["collate"], error_field_nonexistence(

Check warning on line 184 in src/model_config_tests/qa/test_access_esm1p5_config.py

View check run for this annotation

Codecov / codecov/patch

src/model_config_tests/qa/test_access_esm1p5_config.py#L184

Added line #L184 was not covered by tests
"collate.mpi", "config.yaml"
)

assert config["collate"]["mpi"], error_field_incorrect(
"collate.mpi", "config.yaml", "true"
)

0 comments on commit aa4dcd5

Please sign in to comment.