@@ -44,7 +44,7 @@ def get_static_test_paths(command_name: str, is_hive: bool) -> List[Path]:
44
44
static_test_paths = [
45
45
base_path / "simulators" / "simulator_logic" / f"test_via_{ cmd } .py" for cmd in commands
46
46
]
47
- elif command_name in ["engine" , "engine-reorg" , "engine_reorg " ]:
47
+ elif command_name in ["engine" , "enginex " ]:
48
48
static_test_paths = [base_path / "simulators" / "simulator_logic" / "test_via_engine.py" ]
49
49
elif command_name == "rlp" :
50
50
static_test_paths = [base_path / "simulators" / "simulator_logic" / "test_via_rlp.py" ]
@@ -101,26 +101,14 @@ def rlp() -> None:
101
101
102
102
@consume_command (is_hive = True )
103
103
def engine () -> None :
104
- """Client consumes via the Engine API."""
104
+ """Client consumes Engine Fixtures via the Engine API."""
105
105
pass
106
106
107
107
108
- @consume .command (
109
- name = "engine-reorg" ,
110
- help = "Client consumes via the Engine API with reorg fixtures." ,
111
- context_settings = {"ignore_unknown_options" : True },
112
- )
113
- @common_pytest_options
114
- def engine_reorg (
115
- pytest_args : List [str ], help_flag : bool = False , pytest_help_flag : bool = False
116
- ) -> None :
117
- """Client consumes via the Engine API with reorg fixtures."""
118
- command_name = "engine_reorg" # Use underscore for internal logic
119
- static_test_paths = get_static_test_paths (command_name , is_hive = True )
120
- consume_cmd = create_consume_command (
121
- static_test_paths = static_test_paths , is_hive = True , command_name = command_name
122
- )
123
- consume_cmd .execute (list (pytest_args ))
108
+ @consume_command (is_hive = True )
109
+ def enginex () -> None :
110
+ """Client consumes Engine X Fixtures via the Engine API."""
111
+ pass
124
112
125
113
126
114
@consume_command (is_hive = True )
@@ -133,7 +121,7 @@ def hive() -> None:
133
121
context_settings = {"ignore_unknown_options" : True },
134
122
)
135
123
@common_pytest_options
136
- def cache (pytest_args : List [str ], help_flag : bool = False , pytest_help_flag : bool = False ) -> None :
124
+ def cache (pytest_args : List [str ], ** kwargs ) -> None :
137
125
"""Consume command to cache test fixtures."""
138
126
cache_cmd = create_consume_command (static_test_paths = [], is_hive = False )
139
127
cache_cmd .execute (list (pytest_args ))
0 commit comments