mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 16:45:01 -05:00
move out spec state test deco
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
|
||||
from tests.utils import spectest
|
||||
from tests.context import with_state
|
||||
|
||||
|
||||
# shorthand for decorating @with_state @spectest()
|
||||
def spec_state_test(fn):
|
||||
return with_state(spectest()(fn))
|
||||
Reference in New Issue
Block a user