Files
app-ethereum/tests/ragger/conftest.py
2023-04-20 10:12:49 +02:00

13 lines
479 B
Python

import pytest
from ragger.conftest import configuration
from ragger.backend import BackendInterface
from app.client import EthereumClient
# This final fixture will return the properly configured app client, to be used in tests
@pytest.fixture
def app_client(backend: BackendInterface) -> EthereumClient:
return EthereumClient(backend)
# Pull all features from the base ragger conftest using the overridden configuration
pytest_plugins = ("ragger.conftest.base_conftest", )