From 1ce4dd66391fdd949e909ebd9552b0cedec1b1f6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 10 Oct 2024 22:59:51 +0000 Subject: [PATCH] deploy: 60f41b8f03e4bc209855344b602077c95fd494a6 --- .../tests/test_unit_system_tests_mvk.html | 28 +++++++------------ 1 file changed, 10 insertions(+), 18 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 d6624c22ac8..5cd5c49277b 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 @@ -85,12 +85,12 @@

Source code for CIME.tests.test_unit_system_tests_mvk

 #!/usr/bin/env python3
 
-import re
 import os
 import json
 import unittest
 import tempfile
 import contextlib
+import sysconfig
 from pathlib import Path
 from unittest import mock
 
@@ -287,12 +287,10 @@ 

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/kso.py", - module, - ) - is not None + f'{sysconfig.get_paths()["purelib"]}/evv4esm/extensions/kso.py' + == module ) + assert config == expected_config nml_files = [x for x in os.listdir(temp_dir) if x.startswith("user_nl")] @@ -499,12 +497,9 @@

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 + f'{sysconfig.get_paths()["purelib"]}/evv4esm/extensions/ks.py' == module ) + assert config == expected_config nml_files = [x for x in os.listdir(temp_dir) if x.startswith("user_nl")] @@ -635,7 +630,7 @@

Source code for CIME.tests.test_unit_system_tests_mvk

files = os.listdir(case_baseline_dir) - assert files == ["test1.nc", "test2.nc"] + assert sorted(files) == sorted(["test1.nc", "test2.nc"]) # reset side_effect case.get_value.side_effect = side_effect @@ -647,7 +642,7 @@

Source code for CIME.tests.test_unit_system_tests_mvk

files = os.listdir(case_baseline_dir) - assert files == ["test1.nc", "test2.nc"]
+ assert sorted(files) == sorted(["test1.nc", "test2.nc"])
@@ -728,12 +723,9 @@

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 + f'{sysconfig.get_paths()["purelib"]}/evv4esm/extensions/ks.py' == module ) + assert config == expected_config expected_comments = f"""BASELINE PASS for test '20240515_212034_41b5u2'.