Skip to content

Commit 5a7bb7c

Browse files
committed
refactor(consume): rename conftest to single_test_client plugin
Plugins called 'conftest' are registered automatically if in a sub-path to a test. This rename requires an explicit registration, which is specified by defining the `pytest_plugins` variable in 'engine/conftest.py', respectively, 'rlp/conftest.py'.
1 parent 26552ce commit 5a7bb7c

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

src/pytest_plugins/consume/simulators/engine/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
from ethereum_test_fixtures import BlockchainEngineFixture
1515
from ethereum_test_rpc import EngineRPC
1616

17+
pytest_plugins = "pytest_plugins.consume.simulators.single_test_client"
18+
1719

1820
def pytest_configure(config):
1921
"""Set the supported fixture formats for the engine simulator."""

src/pytest_plugins/consume/simulators/rlp/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
TestCase = TestCaseIndexFile | TestCaseStream
1313

14+
pytest_plugins = "pytest_plugins.consume.simulators.single_test_client"
15+
1416

1517
def pytest_configure(config):
1618
"""Set the supported fixture formats for the rlp simulator."""

0 commit comments

Comments
 (0)