From 61d141b4db8978d6e3b825b6f7ccdc37ea559ab6 Mon Sep 17 00:00:00 2001 From: Alex Stokes Date: Thu, 7 Jan 2021 10:57:54 -0800 Subject: [PATCH] Use more clear names for tests --- .../block_processing/test_process_sync_committee.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/core/pyspec/eth2spec/test/lightclient_patch/block_processing/test_process_sync_committee.py b/tests/core/pyspec/eth2spec/test/lightclient_patch/block_processing/test_process_sync_committee.py index f29d1ef2b..e36500918 100644 --- a/tests/core/pyspec/eth2spec/test/lightclient_patch/block_processing/test_process_sync_committee.py +++ b/tests/core/pyspec/eth2spec/test/lightclient_patch/block_processing/test_process_sync_committee.py @@ -18,7 +18,7 @@ from eth2spec.test.context import ( @with_all_phases_except([PHASE0, PHASE1]) @spec_state_test -def test_invalid_sync_committee_bits(spec, state): +def test_invalid_signature_missing_participant(spec, state): committee = spec.get_sync_committee_indices(state, spec.get_current_epoch(state)) random_participant = random.choice(committee) @@ -31,7 +31,7 @@ def test_invalid_sync_committee_bits(spec, state): spec, state, block.slot - 1, - committee, # full committee signs + committee, # full committee signs ) yield 'blocks', [block] @@ -41,7 +41,7 @@ def test_invalid_sync_committee_bits(spec, state): @with_all_phases_except([PHASE0, PHASE1]) @spec_state_test -def test_invalid_sync_committee_signature(spec, state): +def test_invalid_signature_extra_participant(spec, state): committee = spec.get_sync_committee_indices(state, spec.get_current_epoch(state)) random_participant = random.choice(committee)