From 3197f95242efb57df3d9b08eefececb5fe6ed6f3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 17 May 2024 01:05:10 +0000 Subject: [PATCH] deploy: ab6890823813e51ce94885cacd6adba1766b3c64 --- .../tests/test_unit_system_tests_mvk.html | 31 +++++++++++++++++-- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/branch/update-mvk-config/html/_modules/CIME/tests/test_unit_system_tests_mvk.html b/branch/update-mvk-config/html/_modules/CIME/tests/test_unit_system_tests_mvk.html index 25f6f275661..1ba9d23f876 100644 --- a/branch/update-mvk-config/html/_modules/CIME/tests/test_unit_system_tests_mvk.html +++ b/branch/update-mvk-config/html/_modules/CIME/tests/test_unit_system_tests_mvk.html @@ -90,6 +90,7 @@

Source code for CIME.tests.test_unit_system_tests_mvk

 #!/usr/bin/env python3
 
+import re
 import os
 import json
 import unittest
@@ -265,11 +266,19 @@ 

Source code for CIME.tests.test_unit_system_tests_mvk

expected_config = { "20240515_212034_41b5u2": { - "module": "/opt/conda/lib/python3.10/site-packages/evv4esm/extensions/kso.py", "component": "someother-comp", } } + module = config["20240515_212034_41b5u2"].pop("module") + + assert ( + re.search( + r"/opt/conda/lib/python.*/site-packages/evv4esm/extensions/kso.py", + module, + ) + is not None + ) assert config == expected_config nml_files = [x for x in os.listdir(temp_dir) if x.startswith("user_nl")] @@ -335,7 +344,6 @@

Source code for CIME.tests.test_unit_system_tests_mvk

expected_config = { "20240515_212034_41b5u2": { - "module": "/opt/conda/lib/python3.10/site-packages/evv4esm/extensions/ks.py", "test-case": "Default", "test-dir": f"{run_dir}", "ref-case": "Reference", @@ -347,6 +355,15 @@

Source code for CIME.tests.test_unit_system_tests_mvk

} } + module = config["20240515_212034_41b5u2"].pop("module") + + assert ( + re.search( + r"/opt/conda/lib/python.*/site-packages/evv4esm/extensions/ks.py", + module, + ) + is not None + ) assert config == expected_config nml_files = [x for x in os.listdir(temp_dir) if x.startswith("user_nl")] @@ -404,7 +421,6 @@

Source code for CIME.tests.test_unit_system_tests_mvk

expected_config = { "20240515_212034_41b5u2": { - "module": "/opt/conda/lib/python3.10/site-packages/evv4esm/extensions/ks.py", "test-case": "Test", "test-dir": f"{run_dir}", "ref-case": "Baseline", @@ -416,6 +432,15 @@

Source code for CIME.tests.test_unit_system_tests_mvk

} } + module = config["20240515_212034_41b5u2"].pop("module") + + assert ( + re.search( + r"/opt/conda/lib/python.*/site-packages/evv4esm/extensions/ks.py", + module, + ) + is not None + ) assert config == expected_config expected_comments = f"""BASELINE PASS for test '20240515_212034_41b5u2'.