Skip to content

Commit

Permalink
removed {} from script string
Browse files Browse the repository at this point in the history
  • Loading branch information
TerryMcGuinness-NOAA committed Jun 5, 2024
1 parent d0bfa61 commit df915d4
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions ci/scripts/tests/test_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,8 @@ def test_setup_expt():
def test_setup_xml():

script_content = '''#!/usr/bin/env bash
output=f"testdata/output.txt"
rm -f "${output}"
export ACCOUNT={foobar}
export HOMEgfs={foobar}
export ACCOUNT=foobar
export HOMEgfs=foobar
../../../workflow/setup_xml.py "${1}"
'''
with open('run_setup_xml.sh', 'w') as file:
Expand Down

0 comments on commit df915d4

Please sign in to comment.