Skip to content

Commit

Permalink
Updating advection pytest.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaxmonsky committed Jan 31, 2025
1 parent 082c332 commit dfc0ec1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test/advection_test/advection_test_reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@
os.path.join(_FRAMEWORK_DIR, "src", "ccpp_hashable.F90"),
os.path.join(_FRAMEWORK_DIR, "src", "ccpp_hash_table.F90")]
_CCPP_FILES = _UTILITY_FILES + _HOST_FILES + _SUITE_FILES
_PROCESS_LIST = list()
_MODULE_LIST = ["cld_ice", "cld_liq", "apply_constituent_tendencies"]
_DEPENDENCIES = list()
_PROCESS_LIST = [""]
_MODULE_LIST = ["apply_constituent_tendencies", "cld_ice", "cld_liq"]
_SUITE_LIST = ["cld_suite"]
_DYN_CONST_ROUTINES = ["cld_ice_dynamic_constituents", "cld_liq_dynamic_constituents"]
_REQUIRED_VARS_CLD = ["ccpp_error_code", "ccpp_error_message",
Expand Down Expand Up @@ -193,4 +194,5 @@ def test_output_variables(self):
completedProcess = subprocess.run([f"{_SCRIPTS_DIR}/ccpp_datafile.py", _DATABASE, "--output-variables", "cld_suite"],
capture_output=True,
text=True)
self.assertEqual(_SEP.join(_OUTPUT_VARS_CLD), completedProcess.stdout.strip())
actualOutput = {s.strip() for s in completedProcess.stdout.split(_SEP)}
self.assertSetEqual(set(_OUTPUT_VARS_CLD), actualOutput)

0 comments on commit dfc0ec1

Please sign in to comment.