mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-11 01:56:57 +00:00
Merge pull request #4028 from ethereum/fix-sanity-testgen
Fix test cases file path in `sanity` test generator
This commit is contained in:
commit
62a5c5f4e2
@ -31,10 +31,13 @@ if __name__ == "__main__":
|
|||||||
# This is a "hack" which allows other test files (e.g., test_deposit_transition.py)
|
# 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,
|
# 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.
|
# 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',
|
'blocks',
|
||||||
|
]}
|
||||||
|
_new_electra_mods_2 = {key: 'eth2spec.test.electra.sanity.test_' + key for key in [
|
||||||
'slots',
|
'slots',
|
||||||
]}
|
]}
|
||||||
|
_new_electra_mods = {**_new_electra_mods_1, **_new_electra_mods_2}
|
||||||
electra_mods = combine_mods(_new_electra_mods, deneb_mods)
|
electra_mods = combine_mods(_new_electra_mods, deneb_mods)
|
||||||
|
|
||||||
all_mods = {
|
all_mods = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user