2022-07-26 11:23:06 +02:00
|
|
|
import pytest
|
2023-03-02 15:12:18 +01:00
|
|
|
from ragger.conftest import configuration
|
|
|
|
|
from ragger.backend import BackendInterface
|
2023-02-27 18:15:41 +01:00
|
|
|
from app.client import EthereumClient
|
2022-07-26 11:23:06 +02:00
|
|
|
|
|
|
|
|
# This final fixture will return the properly configured app client, to be used in tests
|
|
|
|
|
@pytest.fixture
|
2023-03-10 16:40:34 +01:00
|
|
|
def app_client(backend: BackendInterface, golden_run: bool) -> EthereumClient:
|
|
|
|
|
return EthereumClient(backend, golden_run)
|
2023-03-02 15:12:18 +01:00
|
|
|
|
|
|
|
|
# Pull all features from the base ragger conftest using the overridden configuration
|
|
|
|
|
pytest_plugins = ("ragger.conftest.base_conftest", )
|