Skip to content

Commit

Permalink
added HOMEgfs and checked for no UNKNOWN
Browse files Browse the repository at this point in the history
  • Loading branch information
TerryMcGuinness-NOAA committed Jun 5, 2024
1 parent 55c28f4 commit d0bfa61
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ci/scripts/tests/test_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def test_setup_xml():
rm -f "${output}"
export ACCOUNT={foobar}
echo "ACCOUNT=${ACCOUNT}" > "${output}"
export HOMEgfs={foobar}
../../../workflow/setup_xml.py "${1}"
'''
Expand All @@ -48,7 +48,9 @@ def test_setup_xml():
cfg = Configuration(f"{RUNDIR}/{pslot}")
base = cfg.parse_config('config.base')
assert base.ACCOUNT == account

assert foobar not in base.values()
assert "UNKOWN" not in base.values()

with open(f"{RUNDIR}/{pslot}/{pslot}.xml", 'r') as file:
contents = file.read()
Expand Down

0 comments on commit d0bfa61

Please sign in to comment.