Skip to content

Commit

Permalink
Update test.
Browse files Browse the repository at this point in the history
  • Loading branch information
christinaholtNOAA committed Feb 21, 2025
1 parent 534fb96 commit df1d8b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_python/test_generate_FV3LAM_wflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ def run_workflow(USHdir, logfile):
if not os.path.exists(build_settings_file):
os.makedirs(EXECdir, exist_ok=True)
with open(build_settings_file, 'w', encoding='utf-8') as build_settings:
build_settings.write('Machine: linux\n')
build_settings.write('Machine: LINUX\n')
build_settings.write('Application:\n')

# community test case
shutil.copy(f"{USHdir}/config.community.yaml", f"{USHdir}/config.yaml")
run_command(
f"""{sed} -i 's/MACHINE: hera/MACHINE: linux/g' {USHdir}/config.yaml"""
f"""{sed} -i 's/MACHINE: HERA/MACHINE: LINUX/g' {USHdir}/config.yaml"""
)
run_workflow(USHdir, logfile)

Expand Down

0 comments on commit df1d8b4

Please sign in to comment.