Skip to content

Commit a06facf

Browse files
committed
refactor(consume): rename hive_simulators to simulators.
1 parent d1998f1 commit a06facf

File tree

15 files changed

+9
-8
lines changed

15 files changed

+9
-8
lines changed

pytest-framework.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ addopts =
1313
--ignore=src/pytest_plugins/consume/test_cache.py
1414
--ignore=src/pytest_plugins/consume/direct/
1515
--ignore=src/pytest_plugins/consume/direct/test_via_direct.py
16-
--ignore=src/pytest_plugins/consume/hive_simulators/
17-
--ignore=src/pytest_plugins/consume/hive_simulators/engine/test_via_engine.py
18-
--ignore=src/pytest_plugins/consume/hive_simulators/rlp/test_via_rlp.py
16+
--ignore=src/pytest_plugins/consume/simulators/
17+
--ignore=src/pytest_plugins/consume/simulators/engine/test_via_engine.py
18+
--ignore=src/pytest_plugins/consume/simulators/rlp/test_via_rlp.py
1919
--ignore=src/pytest_plugins/execute/test_recover.py

src/cli/pytest_commands/consume.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def get_command_paths(command_name: str, is_hive: bool) -> List[Path]:
5858
commands = [command_name]
5959

6060
command_paths = [
61-
base_path / ("hive_simulators" if is_hive else "") / cmd / f"test_via_{cmd}.py"
61+
base_path / ("simulators" if is_hive else "") / cmd / f"test_via_{cmd}.py"
6262
for cmd in commands
6363
]
6464
return command_paths

src/pytest_plugins/consume/hive_simulators/conftest.py renamed to src/pytest_plugins/consume/simulators/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from ethereum_test_fixtures.file import Fixtures
2525
from ethereum_test_rpc import EthRPC
2626
from pytest_plugins.consume.consume import FixturesSource
27-
from pytest_plugins.consume.hive_simulators.ruleset import ruleset # TODO: generate dynamically
27+
from pytest_plugins.consume.simulators.ruleset import ruleset # TODO: generate dynamically
2828
from pytest_plugins.pytest_hive.hive_info import ClientFile, HiveInfo
2929

3030
from .exceptions import EXCEPTION_MAPPERS

src/pytest_plugins/consume/hive_simulators/engine/test_via_engine.py renamed to src/pytest_plugins/consume/simulators/engine/test_via_engine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from ethereum_test_fixtures import BlockchainEngineFixture
1010
from ethereum_test_rpc import EngineRPC, EthRPC
1111
from ethereum_test_rpc.types import ForkchoiceState, JSONRPCError, PayloadStatusEnum
12-
from pytest_plugins.consume.hive_simulators.exceptions import GenesisBlockMismatchExceptionError
12+
from pytest_plugins.consume.simulators.exceptions import GenesisBlockMismatchExceptionError
1313
from pytest_plugins.logging import get_logger
1414

1515
from ..timing import TimingData

0 commit comments

Comments
 (0)