Skip to content

Commit

Permalink
Fixup bad variable naming in test
Browse files Browse the repository at this point in the history
  • Loading branch information
yngve-sk committed Jan 13, 2025
1 parent f97c373 commit 96d3029
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/ert/ui_tests/cli/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ def test_that_pre_post_experiment_hook_works(capsys):

# The workflow
with open("SAY_HELLO_POST_EXP.wf", "w", encoding="utf-8") as s:
s.write("""dump_final_ensemble_id""")
s.write("""alias_for_hello_post_exp_wfjob""")

# The executable
with open("hello_pre_exp.sh", "w", encoding="utf-8") as f:
Expand All @@ -595,19 +595,19 @@ def test_that_pre_post_experiment_hook_works(capsys):

# The workflow
with open("SAY_HELLO_PRE_EXP.wf", "w", encoding="utf-8") as s:
s.write("""dump_first_ensemble_id""")
s.write("""alias_for_hello_pre_exp_wfjob""")

with open("poly.ert", mode="a", encoding="utf-8") as fh:
fh.write(
dedent(
"""
NUM_REALIZATIONS 2
LOAD_WORKFLOW_JOB SAY_HELLO_POST_EXP dump_final_ensemble_id
LOAD_WORKFLOW_JOB SAY_HELLO_POST_EXP alias_for_hello_post_exp_wfjob
LOAD_WORKFLOW SAY_HELLO_POST_EXP.wf POST_EXPERIMENT_DUMP
HOOK_WORKFLOW POST_EXPERIMENT_DUMP POST_EXPERIMENT
LOAD_WORKFLOW_JOB SAY_HELLO_PRE_EXP dump_first_ensemble_id
LOAD_WORKFLOW_JOB SAY_HELLO_PRE_EXP alias_for_hello_pre_exp_wfjob
LOAD_WORKFLOW SAY_HELLO_PRE_EXP.wf PRE_EXPERIMENT_DUMP
HOOK_WORKFLOW PRE_EXPERIMENT_DUMP PRE_EXPERIMENT
"""
Expand Down

0 comments on commit 96d3029

Please sign in to comment.