We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b20137b commit 06ef59eCopy full SHA for 06ef59e
ci/scripts/tests/test_setup.py
@@ -3,7 +3,7 @@
3
import os
4
5
HOMEgfs = os.path.dirname(os.path.join(os.path.dirname(__file__), '../../../..'))
6
-testdata = os.path.join(HOMEgfs, 'ci/scripts/tests/testdata/RUNDIR' )
+testdata = os.path.join(HOMEgfs, 'ci/scripts/tests/testdata/RUNDIR')
7
8
9
def test_setup_expt():
@@ -31,9 +31,12 @@ def test_setup_xml():
31
f"{testdata}/EXPDIR/C48_ATM",
32
]
33
34
+ env = os.environ.copy()
35
+ del env['EXPDIR']
36
+
37
setup_xml_script = Executable(setup_xml_py)
38
setup_xml_script.add_default_arg(arguments)
- setup_xml_script()
39
+ setup_xml_script(env=env)
40
assert (setup_xml_script.returncode == 0)
41
42
rmtree(testdata)
0 commit comments