Skip to content

Commit

Permalink
Fix electra sanity testgen for blocks (#3939)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtraglia authored Sep 24, 2024
1 parent 865dff0 commit dcdcf25
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions tests/generators/sanity/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
]}
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',
]}
Expand Down

0 comments on commit dcdcf25

Please sign in to comment.