Skip to content

Commit

Permalink
Include site config when running missing runpath test
Browse files Browse the repository at this point in the history
  • Loading branch information
larsevj committed Oct 10, 2024
1 parent b9cfd46 commit 7733443
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tests/ert/ui_tests/cli/test_missing_runpath.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import pytest

from ert.cli.main import ErtCliError
from ert.plugins import ErtPluginContext

from .run_cli import run_cli_with_pm

Expand Down Expand Up @@ -96,5 +97,10 @@ def test_failing_writes_lead_to_isolated_failures(tmp_path, monkeypatch, pytestc
ErtCliError,
match=r"(?s)active realizations \(9\) is less than .* MIN_REALIZATIONS\(10\).*"
r"Driver reported: Could not create submit script: Don't like realization-1",
), patch_raising_named_temporary_file(queue_system.lower()):
run_cli_with_pm(["ensemble_experiment", "config.ert", "--disable-monitoring"])
), patch_raising_named_temporary_file(
queue_system.lower()
), ErtPluginContext() as context:
run_cli_with_pm(
["ensemble_experiment", "config.ert", "--disable-monitoring"],
pm=context.plugin_manager,
)

0 comments on commit 7733443

Please sign in to comment.