mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-26 09:15:17 +00:00
Tests run with both spec versions
This commit is contained in:
parent
9e8a969f22
commit
92916e5383
@ -110,4 +110,13 @@ def with_phase1(fn):
|
|||||||
return entry
|
return entry
|
||||||
|
|
||||||
|
|
||||||
with_all_phases = with_phase0
|
def with_all_phases(fn):
|
||||||
|
"""
|
||||||
|
Decorator to run everything with all availible spec phases
|
||||||
|
"""
|
||||||
|
def entry(*args, **kw):
|
||||||
|
kw['spec'] = spec_phase0
|
||||||
|
fn(*args, **kw)
|
||||||
|
kw['spec'] = spec_phase1
|
||||||
|
return fn(*args, **kw)
|
||||||
|
return entry
|
||||||
|
Loading…
x
Reference in New Issue
Block a user