Skip to content

Commit

Permalink
Renames test_config to evv_test_config
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonb5 committed Jul 23, 2024
1 parent e3514c6 commit 7439370
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CIME/SystemTests/mvk.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def write_inst_nml(
set_nml_variable("seed_custom", f"{iinst}")
set_nml_variable("seed_clock", ".true.")

def test_config(
def evv_test_config(
self, case, run_dir, base_dir, evv_lib_dir
): # pylint: disable=unused-argument
"""Configure the evv test.
Expand Down Expand Up @@ -230,7 +230,7 @@ def _compare_baseline(self):

test_name = "{}".format(case_name.split(".")[-1])

test_config = self._config.test_config(
test_config = self._config.evv_test_config(
self._case, run_dir, base_dir, EVV_LIB_DIR
)

Expand Down
2 changes: 1 addition & 1 deletion CIME/tests/test_unit_system_tests_mvk.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def write_inst_nml(case, set_nml_variable, component, iinst):
elif component == "secondary-comp":
set_nml_variable("var2", "value2")
def test_config(case, run_dir, base_dir, evv_lib_dir):
def evv_test_config(case, run_dir, base_dir, evv_lib_dir):
return {
"module": os.path.join(evv_lib_dir, "extensions", "kso.py"),
"component": "someother-comp"
Expand Down
4 changes: 2 additions & 2 deletions doc/source/users_guide/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ Available methods for the MVK test type.

.. code-block::

def test_config(case, run_dir, base_dir, evv_lib_dir):
def evv_test_config(case, run_dir, base_dir, evv_lib_dir):
"""
Configure the evv test.

Expand Down Expand Up @@ -366,7 +366,7 @@ A complex customization of the `MVK` :ref:`test type <TESTTYPE>` would be defini
component = "eam"
components = ["eam", "clm"]

def test_config(case, run_dir, base_dir, evv_lib_dir):
def evv_test_config(case, run_dir, base_dir, evv_lib_dir):
return {
"module": os.path.join(evv_lib_dir, "extensions", "kso.py"),
"component": component,
Expand Down

0 comments on commit 7439370

Please sign in to comment.