mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-19 23:19:28 +00:00
test generator fixes
This commit is contained in:
parent
fb82472b46
commit
925f0508ce
@ -10,7 +10,7 @@ if __name__ == "__main__":
|
||||
all_mods = {
|
||||
PHASE0: phase_0_mods,
|
||||
ALTAIR: altair_mods,
|
||||
MERGE: spec_merge,
|
||||
MERGE: merge_mods,
|
||||
}
|
||||
|
||||
run_state_test_generators(runner_name="finality", all_mods=all_mods)
|
||||
|
@ -39,7 +39,7 @@ def create_provider(preset_name: PresetBaseName) -> gen_typing.TestProvider:
|
||||
spec = spec_minimal
|
||||
else:
|
||||
raise Exception(f"unrecognized preset: {preset_name}")
|
||||
for (case_name, case_fn) in shuffling_test_cases():
|
||||
for (case_name, case_fn) in shuffling_test_cases(spec):
|
||||
yield gen_typing.TestCase(
|
||||
fork_name=PHASE0,
|
||||
preset_name=preset_name,
|
||||
|
Loading…
x
Reference in New Issue
Block a user