Fix electra sanity testgen for blocks (#3939)

This commit is contained in:
Justin Traglia 2024-09-24 12:54:45 -05:00 committed by GitHub
parent 865dff0d0e
commit dcdcf25d81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -1 +1,4 @@
# This is a "hack" which allows other test files (e.g., test_deposit_transition.py)
# to reuse the sanity/block test format.
from .test_blocks import * # noqa: F401 F403
from .test_deposit_transition import * # noqa: F401 F403

View File

@ -28,6 +28,9 @@ if __name__ == "__main__":
]}
deneb_mods = combine_mods(_new_deneb_mods, capella_mods)
# This is a "hack" which allows other test files (e.g., test_deposit_transition.py)
# to reuse the sanity/block test format. If a new test file is added or removed,
# do not forget to update sanity/block/__init__.py accordingly.
_new_electra_mods = {key: 'eth2spec.test.electra.sanity.' + key for key in [
'blocks',
]}