Skip to content

Commit

Permalink
Adjust migration test for 11.* storages
Browse files Browse the repository at this point in the history
  • Loading branch information
yngve-sk committed Dec 6, 2024
1 parent b903bb0 commit 9288398
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test-data/ert/block_storage
Submodule block_storage updated 122 files
5 changes: 4 additions & 1 deletion tests/ert/unit_tests/storage/test_storage_migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,10 @@ def test_that_storage_works_with_missing_parameters_and_responses(
if i % 2 == 0:
os.remove(real_dir / "BPR.nc")

os.remove(real_dir / "GEN.nc")
gen_data_file = next(
file for file in os.listdir(real_dir) if "gen" in file.lower()
)
os.remove(real_dir / gen_data_file)

monkeypatch.chdir(tmp_path / "all_data_types")
ert_config = ErtConfig.with_plugins().from_file("config.ert")
Expand Down

0 comments on commit 9288398

Please sign in to comment.