Skip to content

Commit f391a0c

Browse files
authored
chore(test-fill): fix pytest warnings in console test summary (#1993)
* chore(tests-fill): reorder plugins to fix PytestAssertRewriteWarning * chore(tests-fill): register fully_tagged marker to fix PytestUnknownMarkWarning
1 parent a4a85ef commit f391a0c

5 files changed

Lines changed: 20 additions & 16 deletions

File tree

packages/testing/src/execution_testing/cli/pytest_commands/plugins/shared/execute_fill.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,10 @@ def pytest_configure(config: pytest.Config) -> None:
179179
"markers",
180180
"mainnet: Specialty tests crafted for running on mainnet and sanity checking.",
181181
)
182+
config.addinivalue_line(
183+
"markers",
184+
"fully_tagged: Marks a static test as fully tagged with all metadata.",
185+
)
182186

183187

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

packages/testing/src/execution_testing/cli/pytest_commands/pytest_ini_files/pytest-check-eip-versions.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ python_files = *.py
55
# Note: register new markers via src/execution_testing/cli/pytest_commands/plugins/shared/execute_fill.py or
66
# src/execution_testing/cli/pytest_commands/plugins/spec_version_checker/spec_version_checker.py
77
testpaths = tests/
8-
addopts =
8+
addopts =
9+
-p execution_testing.cli.pytest_commands.plugins.shared.execute_fill
10+
-p execution_testing.cli.pytest_commands.plugins.filler.filler
11+
-p execution_testing.cli.pytest_commands.plugins.forks.forks
912
-p execution_testing.cli.pytest_commands.plugins.spec_version_checker.spec_version_checker
1013
-p execution_testing.cli.pytest_commands.plugins.concurrency
1114
-p execution_testing.cli.pytest_commands.plugins.filler.pre_alloc
12-
-p execution_testing.cli.pytest_commands.plugins.filler.filler
13-
-p execution_testing.cli.pytest_commands.plugins.shared.execute_fill
1415
-p execution_testing.cli.pytest_commands.plugins.shared.transaction_fixtures
15-
-p execution_testing.cli.pytest_commands.plugins.forks.forks
1616
-p execution_testing.cli.pytest_commands.plugins.help.help
1717
-m eip_version_check
1818
--tb short

packages/testing/src/execution_testing/cli/pytest_commands/pytest_ini_files/pytest-execute-hive.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ minversion = 7.0
44
python_files = test_*.py
55
testpaths = tests/
66
# Note: register new markers via src/execution_testing/cli/pytest_commands/plugins/shared/execute_fill.py
7-
addopts =
7+
addopts =
8+
-p execution_testing.cli.pytest_commands.plugins.shared.execute_fill
9+
-p execution_testing.cli.pytest_commands.plugins.execute.execute
10+
-p execution_testing.cli.pytest_commands.plugins.forks.forks
811
-p execution_testing.cli.pytest_commands.plugins.concurrency
912
-p execution_testing.cli.pytest_commands.plugins.execute.sender
1013
-p execution_testing.cli.pytest_commands.plugins.execute.pre_alloc
1114
-p execution_testing.cli.pytest_commands.plugins.execute.rpc.hive
12-
-p execution_testing.cli.pytest_commands.plugins.execute.execute
13-
-p execution_testing.cli.pytest_commands.plugins.shared.execute_fill
1415
-p execution_testing.cli.pytest_commands.plugins.shared.benchmarking
1516
-p execution_testing.cli.pytest_commands.plugins.shared.transaction_fixtures
16-
-p execution_testing.cli.pytest_commands.plugins.forks.forks
1717
-p execution_testing.cli.pytest_commands.plugins.pytest_hive.pytest_hive
1818
-p execution_testing.cli.pytest_commands.plugins.help.help
1919
--tb short

packages/testing/src/execution_testing/cli/pytest_commands/pytest_ini_files/pytest-execute.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@ minversion = 7.0
44
python_files = test_*.py
55
testpaths = tests/
66
# Note: register new markers via src/execution_testing/cli/pytest_commands/plugins/shared/execute_fill.py
7-
addopts =
7+
addopts =
8+
-p execution_testing.cli.pytest_commands.plugins.shared.execute_fill
9+
-p execution_testing.cli.pytest_commands.plugins.execute.execute
10+
-p execution_testing.cli.pytest_commands.plugins.forks.forks
811
-p execution_testing.cli.pytest_commands.plugins.execute.execute_flags.execute_flags
912
-p execution_testing.cli.pytest_commands.plugins.concurrency
1013
-p execution_testing.cli.pytest_commands.plugins.execute.sender
1114
-p execution_testing.cli.pytest_commands.plugins.execute.pre_alloc
12-
-p execution_testing.cli.pytest_commands.plugins.execute.execute
13-
-p execution_testing.cli.pytest_commands.plugins.shared.execute_fill
1415
-p execution_testing.cli.pytest_commands.plugins.shared.benchmarking
1516
-p execution_testing.cli.pytest_commands.plugins.shared.transaction_fixtures
1617
-p execution_testing.cli.pytest_commands.plugins.execute.rpc.remote_seed_sender
1718
-p execution_testing.cli.pytest_commands.plugins.execute.rpc.remote
18-
-p execution_testing.cli.pytest_commands.plugins.forks.forks
1919
-p execution_testing.cli.pytest_commands.plugins.help.help
2020
-p execution_testing.cli.pytest_commands.plugins.custom_logging.plugin_logging
2121
--tb short

packages/testing/src/execution_testing/cli/pytest_commands/pytest_ini_files/pytest-fill.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ minversion = 7.0
44
python_files = test_*.py
55
testpaths = tests/
66
# Note: register new markers via src/execution_testing/cli/pytest_commands/plugins/shared/execute_fill.py
7-
addopts =
7+
addopts =
8+
-p execution_testing.cli.pytest_commands.plugins.shared.execute_fill
9+
-p execution_testing.cli.pytest_commands.plugins.filler.filler
10+
-p execution_testing.cli.pytest_commands.plugins.forks.forks
811
-p execution_testing.cli.pytest_commands.plugins.concurrency
912
-p execution_testing.cli.pytest_commands.plugins.filler.pre_alloc
10-
-p execution_testing.cli.pytest_commands.plugins.filler.filler
1113
-p execution_testing.cli.pytest_commands.plugins.filler.witness
12-
-p execution_testing.cli.pytest_commands.plugins.shared.execute_fill
1314
-p execution_testing.cli.pytest_commands.plugins.filler.ported_tests
1415
-p execution_testing.cli.pytest_commands.plugins.filler.static_filler
1516
-p execution_testing.cli.pytest_commands.plugins.shared.benchmarking
1617
-p execution_testing.cli.pytest_commands.plugins.shared.transaction_fixtures
17-
-p execution_testing.cli.pytest_commands.plugins.forks.forks
1818
-p execution_testing.cli.pytest_commands.plugins.help.help
1919
-p execution_testing.cli.pytest_commands.plugins.custom_logging.plugin_logging
2020
--tb short

0 commit comments

Comments
 (0)