Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Make import storage ert4 and ert4 compatible #247

Merged
merged 1 commit into from
May 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions tests/integration/spe1_st/conftest.py
Original file line number Diff line number Diff line change
@@ -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]


Expand Down