From 29d9e8dabe7199b11bf2c9eb99ec4e37aad3320a Mon Sep 17 00:00:00 2001 From: Hsiao-Wei Wang Date: Fri, 29 Nov 2024 04:04:11 +0800 Subject: [PATCH] Fix test cases source path --- tests/generators/sanity/main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/generators/sanity/main.py b/tests/generators/sanity/main.py index 2145146856..2101894d9c 100644 --- a/tests/generators/sanity/main.py +++ b/tests/generators/sanity/main.py @@ -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 = {