Skip to content

Commit

Permalink
Use gen data config for gen data (#8196)
Browse files Browse the repository at this point in the history
Co-authored-by: Yngve S. Kristiansen <[email protected]>
  • Loading branch information
yngve-sk and Yngve S. Kristiansen authored Jun 20, 2024
1 parent 4f363cc commit 399136c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit_tests/storage/migration/test_block_fs_snake_oil.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

import ert.storage
import ert.storage.migration.block_fs as bf
from ert.config import ErtConfig, GenKwConfig
from ert.config import ErtConfig, GenDataConfig, GenKwConfig
from ert.config.summary_config import SummaryConfig
from ert.storage import open_storage
from ert.storage.local_storage import local_storage_set_ert_config
Expand Down Expand Up @@ -124,7 +124,7 @@ def test_migrate_gen_data(data, forecast, tmp_path):
with open_storage(tmp_path / "storage", mode="w") as storage:
experiment = storage.create_experiment(
responses=[
SummaryConfig(name=name, input_file="some_file", keys=["some_key"])
GenDataConfig(name=name, input_file="some_file")
for name in (
"SNAKE_OIL_WPR_DIFF",
"SNAKE_OIL_OPR_DIFF",
Expand Down

0 comments on commit 399136c

Please sign in to comment.