diff --git a/tests/data/spe1_st/tests/conftest.py b/tests/data/spe1_st/tests/conftest.py index cb6b8e4e..b9867978 100644 --- a/tests/data/spe1_st/tests/conftest.py +++ b/tests/data/spe1_st/tests/conftest.py @@ -3,8 +3,11 @@ @pytest.fixture(scope="session", autouse=True) def start_storage_server(): - from ert.services import StorageService + try: + from ert.services import StorageService as Storage + except ImportError: + from ert.services import Storage - with StorageService.start_server() as service: + with Storage.start_server() as service: service.wait_until_ready(timeout=30) yield service