From 5a17fa65b238eb1507f16a7d6db447075de1774d Mon Sep 17 00:00:00 2001 From: Alex Stokes Date: Tue, 17 Aug 2021 08:28:45 -0600 Subject: [PATCH] group test files into subdirectory --- .../test/altair/block_processing/sync_aggregate/__init__.py | 0 .../{ => sync_aggregate}/test_process_sync_aggregate.py | 0 .../{ => sync_aggregate}/test_process_sync_aggregate_random.py | 0 tests/generators/operations/main.py | 3 ++- 4 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 tests/core/pyspec/eth2spec/test/altair/block_processing/sync_aggregate/__init__.py rename tests/core/pyspec/eth2spec/test/altair/block_processing/{ => sync_aggregate}/test_process_sync_aggregate.py (100%) rename tests/core/pyspec/eth2spec/test/altair/block_processing/{ => sync_aggregate}/test_process_sync_aggregate_random.py (100%) diff --git a/tests/core/pyspec/eth2spec/test/altair/block_processing/sync_aggregate/__init__.py b/tests/core/pyspec/eth2spec/test/altair/block_processing/sync_aggregate/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/core/pyspec/eth2spec/test/altair/block_processing/test_process_sync_aggregate.py b/tests/core/pyspec/eth2spec/test/altair/block_processing/sync_aggregate/test_process_sync_aggregate.py similarity index 100% rename from tests/core/pyspec/eth2spec/test/altair/block_processing/test_process_sync_aggregate.py rename to tests/core/pyspec/eth2spec/test/altair/block_processing/sync_aggregate/test_process_sync_aggregate.py diff --git a/tests/core/pyspec/eth2spec/test/altair/block_processing/test_process_sync_aggregate_random.py b/tests/core/pyspec/eth2spec/test/altair/block_processing/sync_aggregate/test_process_sync_aggregate_random.py similarity index 100% rename from tests/core/pyspec/eth2spec/test/altair/block_processing/test_process_sync_aggregate_random.py rename to tests/core/pyspec/eth2spec/test/altair/block_processing/sync_aggregate/test_process_sync_aggregate_random.py diff --git a/tests/generators/operations/main.py b/tests/generators/operations/main.py index 57fc6dd96..d2653d87d 100644 --- a/tests/generators/operations/main.py +++ b/tests/generators/operations/main.py @@ -12,8 +12,9 @@ if __name__ == "__main__": 'voluntary_exit', ]} altair_mods = { - **{key: 'eth2spec.test.altair.block_processing.test_process_' + key for key in [ + **{key: 'eth2spec.test.altair.block_processing.sync_aggregate.test_process_' + key for key in [ 'sync_aggregate', + 'sync_aggregate_random', ]}, **phase_0_mods, } # also run the previous phase 0 tests