Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindeide committed Dec 3, 2024
1 parent 748e279 commit aecb702
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/everest/test_everlint.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def test_extra_key(min_config):
),
(
{"environment": {"output_folder": "/path/with/" + chr(0) + "embeddedNULL"}},
"output_folder\n.* embedded null byte",
"output_folder\n.* embedded null",
),
(
{"environment": {"output_folder": ["some", "list"]}},
Expand Down
8 changes: 4 additions & 4 deletions tests/everest/test_res_initialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,9 +348,9 @@ def test_workflow_job(tmp_path, monkeypatch):

def test_workflows(tmp_path, monkeypatch):
monkeypatch.chdir(tmp_path)
Path("test").write_text("EXECUTABLE echo", encoding="utf-8")
workflow_jobs = [{"name": "test", "source": "TEST"}]
workflow = {"pre_simulation": ["test"]}
Path("TEST").write_text("EXECUTABLE echo", encoding="utf-8")
workflow_jobs = [{"name": "my_test", "source": "TEST"}]
workflow = {"pre_simulation": ["my_test"]}
ever_config = EverestConfig.with_defaults(
**{
"workflows": workflow,
Expand All @@ -360,7 +360,7 @@ def test_workflows(tmp_path, monkeypatch):
)
ert_config = everest_to_ert_config(ever_config)
jobs = ert_config.workflows.get("pre_simulation")
assert jobs.cmd_list[0][0].name == "test"
assert jobs.cmd_list[0][0].name == "my_test"
assert jobs.cmd_list[0][0].executable == "echo"


Expand Down

0 comments on commit aecb702

Please sign in to comment.