Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanDeHoop committed Dec 3, 2024
1 parent eae14c4 commit e7ce1fa
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tests/everest/test_objective_type.py
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 <GEO_ID> --target 0.5 0.5 0.5 --out distance"
]

# Act
run_model = EverestRunModel.create(config)
Expand Down

0 comments on commit e7ce1fa

Please sign in to comment.