From 69c5866d3a61744960a7a951b8038fe8aabaa5df Mon Sep 17 00:00:00 2001 From: Erik Kluzek Date: Wed, 10 Jan 2024 19:49:35 -0700 Subject: [PATCH] Fix testinput path --- python/ctsm/test/test_sys_mesh_modifier.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/ctsm/test/test_sys_mesh_modifier.py b/python/ctsm/test/test_sys_mesh_modifier.py index a52394294a..ed0ef8d329 100755 --- a/python/ctsm/test/test_sys_mesh_modifier.py +++ b/python/ctsm/test/test_sys_mesh_modifier.py @@ -43,9 +43,9 @@ def setUp(self): self._cfg_template_path = os.path.join( path_to_ctsm_root(), "tools/modify_input_files/modify_mesh_template.cfg" ) - testinputs_path = os.path.join(path_to_ctsm_root(), "python/ctsm/test/testinputs") + self.testinputs_path = os.path.join(path_to_ctsm_root(), "python/ctsm/test/testinputs") fsurdat_in = os.path.join( - testinputs_path, + self.testinputs_path, "surfdata_5x5_amazon_hist_16pfts_CMIP6_2000_c231031.nc", ) self._tempdir = tempfile.mkdtemp()