Justin Traglia 179cde6780
Add new check_mods function for generators (#3970)
* Add new check_mods function for generators

* Use single qoutes for consistency

* Add [ERROR] to the exception & update readme

* Fix typos

* Fix lint
2024-10-14 23:42:57 +08:00

16 lines
463 B
Python

from eth2spec.test.helpers.constants import EIP7594
from eth2spec.gen_helpers.gen_from_tests.gen import run_state_test_generators, check_mods
if __name__ == "__main__":
eip7594_mods = {key: 'eth2spec.test.eip7594.networking.test_' + key for key in [
'get_custody_columns',
]}
all_mods = {
EIP7594: eip7594_mods
}
check_mods(all_mods, "networking")
run_state_test_generators(runner_name="networking", all_mods=all_mods)