Skip to content

Commit

Permalink
Prove that migration of gen data fails when migrating with .to2.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yngve-sk committed Oct 25, 2024
1 parent 2cb3ea0 commit b683743
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/ert/unit_tests/storage/test_storage_migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,11 @@ def test_that_storage_matches(
"observations",
)

try:
ensemble.load_responses("gen_data", list(range(ensemble.ensemble_size)))
except KeyError as e:
raise AssertionError("Failed to migrate gen data") from e

assert ensemble.get_summary_keyset() == ["FOPR"]


Expand Down

0 comments on commit b683743

Please sign in to comment.