From 01bc144d8e30dcd58c43cc421085c8b283895445 Mon Sep 17 00:00:00 2001 From: tmcguinness Date: Tue, 25 Jun 2024 17:42:11 +0000 Subject: [PATCH] took out shell wrapper that was exporting env vars --- ci/scripts/tests/test_setup.py | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/ci/scripts/tests/test_setup.py b/ci/scripts/tests/test_setup.py index afb34cbb88..a035142823 100755 --- a/ci/scripts/tests/test_setup.py +++ b/ci/scripts/tests/test_setup.py @@ -26,18 +26,7 @@ def test_setup_expt(): def test_setup_xml(): - script_content = '''#!/usr/bin/env bash -# TODO - reintroduce this when wxflow update -# for user space variable clashing is addressed -#export ACCOUNT=fv3-cpu -#export HOMEgfs=foobar -../../../workflow/setup_xml.py "${1}" -''' - with open('run_setup_xml.sh', 'w') as file: - file.write(script_content) - os.chmod('run_setup_xml.sh', 0o755) - - setup_xml_script = Executable(os.path.join(HOMEgfs, "ci", "scripts", "tests", "run_setup_xml.sh")) + setup_xml_script = Executable(os.path.join(HOMEgfs, "workflow", "setup_xml.py")) setup_xml_script.add_default_arg(f"{RUNDIR}/{pslot}") setup_xml_script() assert (setup_xml_script.returncode == 0)