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 @@
#!/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'.