Skip to content

Commit eaad0dd

Browse files
authored
Merge pull request #1424 from ethereum/fill_static_tests
fix(plugins/forks): Add `valid_at` to allowed markers to avoid warnings fix(specs): Fail on static test parsing errors
2 parents 6fe9550 + 864b0b8 commit eaad0dd

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/ethereum_test_specs/static_state/state_static.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def test_state_vectors(
6262
post=post,
6363
tx=tx,
6464
)
65-
pytest.skip(f"Expectation not found for d={d}, g={g}, v={v}, fork={fork}")
65+
pytest.fail(f"Expectation not found for d={d}, g={g}, v={v}, fork={fork}")
6666

6767
return test_state_vectors
6868

src/pytest_plugins/forks/forks.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,10 @@ def pytest_configure(config: pytest.Config):
408408
"markers",
409409
"valid_until(fork): specifies until which fork a test case is valid",
410410
)
411+
config.addinivalue_line(
412+
"markers",
413+
"valid_at(fork): specifies at which fork a test case is valid",
414+
)
411415
config.addinivalue_line(
412416
"markers",
413417
(

0 commit comments

Comments
 (0)