Skip to content

Commit

Permalink
Use block storage path fixture in storage test
Browse files Browse the repository at this point in the history
  • Loading branch information
sondreso committed Mar 8, 2024
1 parent 2f02032 commit a9b5232
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/integration_tests/test_storage_migration.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import shutil
from pathlib import Path

import numpy as np

Expand All @@ -8,9 +7,9 @@
from ert.storage.local_storage import local_storage_set_ert_config


def test_that_storage_matches(tmp_path, source_root, snapshot, monkeypatch):
def test_that_storage_matches(tmp_path, block_storage_path, snapshot, monkeypatch):
shutil.copytree(
Path(source_root) / "test-data/block_storage/all_data_types/",
block_storage_path / "all_data_types/",
tmp_path / "all_data_types",
)
monkeypatch.chdir(tmp_path / "all_data_types")
Expand Down

0 comments on commit a9b5232

Please sign in to comment.