Skip to content

Commit

Permalink
Merge pull request #4028 from ethereum/fix-sanity-testgen
Browse files Browse the repository at this point in the history
Fix test cases file path in `sanity` test generator
  • Loading branch information
jtraglia authored Dec 2, 2024
2 parents 8a45549 + 29d9e8d commit 62a5c5f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/generators/sanity/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,13 @@
# 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 [
_new_electra_mods_1 = {key: 'eth2spec.test.electra.sanity.' + key for key in [
'blocks',
]}
_new_electra_mods_2 = {key: 'eth2spec.test.electra.sanity.test_' + key for key in [
'slots',
]}
_new_electra_mods = {**_new_electra_mods_1, **_new_electra_mods_2}
electra_mods = combine_mods(_new_electra_mods, deneb_mods)

all_mods = {
Expand Down

0 comments on commit 62a5c5f

Please sign in to comment.