diff --git a/tests/integration/spe1_st/conftest.py b/tests/integration/spe1_st/conftest.py index d923d81..96e3d97 100644 --- a/tests/integration/spe1_st/conftest.py +++ b/tests/integration/spe1_st/conftest.py @@ -1,12 +1,15 @@ -import requests import pytest +import requests @pytest.fixture(scope="session") def get_info(): - 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: yield service.fetch_url(), service.fetch_auth()[1]