Skip to content

Commit 9a10929

Browse files
authored
chore(consume): rename hive test suites; improve hiveview commands (#925)
1 parent 4e9e371 commit 9a10929

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

src/pytest_plugins/consume/hive_simulators/conftest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def hive_consume_command(
6363

6464
@pytest.fixture(scope="function")
6565
def eest_consume_commands(
66+
request: pytest.FixtureRequest,
6667
test_suite_name: str,
6768
client_type: ClientType,
6869
test_case: TestCaseIndexFile | TestCaseStream,
@@ -71,8 +72,9 @@ def eest_consume_commands(
7172
Commands to run the test within EEST using a hive dev back-end.
7273
"""
7374
hive_dev = f"./hive --dev --client-file configs/prague.yaml --client {client_type.name}"
75+
input_source = request.config.getoption("fixture_source")
7476
consume = (
75-
f'consume {test_suite_name.split("-")[-1]} -v --input latest-develop-release -k '
77+
f'consume {test_suite_name.split("-")[-1]} -v --input={input_source} -k '
7678
f'"{test_case.id}"'
7779
)
7880
return [hive_dev, consume]

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ def test_suite_name() -> str:
3333
"""
3434
The name of the hive test suite used in this simulator.
3535
"""
36-
return "eest-engine"
36+
return "eest/consume-engine"
3737

3838

3939
@pytest.fixture(scope="module")
4040
def test_suite_description() -> str:
4141
"""
4242
The description of the hive test suite used in this simulator.
4343
"""
44-
return "Execute blockchain tests by against clients using the Engine API."
44+
return "Execute blockchain tests against clients using the Engine API."
4545

4646

4747
@pytest.fixture(scope="function")

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def test_suite_name() -> str:
2222
"""
2323
The name of the hive test suite used in this simulator.
2424
"""
25-
return "eest-block-rlp"
25+
return "eest/consume-rlp"
2626

2727

2828
@pytest.fixture(scope="module")

src/pytest_plugins/execute/rpc/hive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def test_suite_name() -> str:
332332
"""
333333
The name of the hive test suite used in this simulator.
334334
"""
335-
return "EEST Execute Test, Hive Mode"
335+
return "eest/execute, hive mode"
336336

337337

338338
@pytest.fixture(scope="session")

0 commit comments

Comments
 (0)