eth2.0-specs/test_libs/pyspec/tests/block_processing/block_test_helpers.py

9 lines
187 B
Python
Raw Normal View History

2019-05-06 14:22:51 +00:00
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))