diff --git a/tests/everest/test_objective_type.py b/tests/everest/test_objective_type.py index eb3e8a635d1..28a96fc59b8 100644 --- a/tests/everest/test_objective_type.py +++ b/tests/everest/test_objective_type.py @@ -1,7 +1,11 @@ import pytest from ert.run_models.everest_run_model import EverestRunModel -from everest.config import EverestConfig, ObjectiveFunctionConfig +from everest.config import ( + EverestConfig, + ModelConfig, + ObjectiveFunctionConfig, +) @pytest.mark.integration_test @@ -16,6 +20,10 @@ def test_objective_type( name="stddev", weight=1.0, type="stddev", alias="distance" ), ] + config.model = ModelConfig(realizations=[0, 1]) + config.forward_model = [ + "distance3 --point-file point.json --realization --target 0.5 0.5 0.5 --out distance" + ] # Act run_model = EverestRunModel.create(config)