test generator fixes

This commit is contained in:
protolambda 2021-05-18 20:13:19 +02:00
parent fb82472b46
commit 925f0508ce
No known key found for this signature in database
GPG Key ID: EC89FDBB2B4C7623
3 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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,