test generator fixes
This commit is contained in:
parent
fb82472b46
commit
925f0508ce
|
@ -10,7 +10,7 @@ if __name__ == "__main__":
|
||||||
all_mods = {
|
all_mods = {
|
||||||
PHASE0: phase_0_mods,
|
PHASE0: phase_0_mods,
|
||||||
ALTAIR: altair_mods,
|
ALTAIR: altair_mods,
|
||||||
MERGE: spec_merge,
|
MERGE: merge_mods,
|
||||||
}
|
}
|
||||||
|
|
||||||
run_state_test_generators(runner_name="finality", all_mods=all_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
|
spec = spec_minimal
|
||||||
else:
|
else:
|
||||||
raise Exception(f"unrecognized preset: {preset_name}")
|
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(
|
yield gen_typing.TestCase(
|
||||||
fork_name=PHASE0,
|
fork_name=PHASE0,
|
||||||
preset_name=preset_name,
|
preset_name=preset_name,
|
||||||
|
|
Loading…
Reference in New Issue