From 1b4c501911f4a133310a9e6daa965a263dfb3b78 Mon Sep 17 00:00:00 2001 From: Bhargava Shastry Date: Thu, 6 Feb 2025 10:48:04 +0100 Subject: [PATCH] test: Improve test coverage for get_committee_assignment --- .../phase0/epoch_processing/test_process_registry_updates.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/core/pyspec/eth2spec/test/phase0/epoch_processing/test_process_registry_updates.py b/tests/core/pyspec/eth2spec/test/phase0/epoch_processing/test_process_registry_updates.py index 7d7d79a178..dcc90a7672 100644 --- a/tests/core/pyspec/eth2spec/test/phase0/epoch_processing/test_process_registry_updates.py +++ b/tests/core/pyspec/eth2spec/test/phase0/epoch_processing/test_process_registry_updates.py @@ -31,6 +31,7 @@ def test_add_to_activation_queue(spec, state): assert state.validators[index].activation_eligibility_epoch != spec.FAR_FUTURE_EPOCH assert state.validators[index].activation_epoch == spec.FAR_FUTURE_EPOCH assert not spec.is_active_validator(state.validators[index], spec.get_current_epoch(state)) + assert spec.get_committee_assignment(state, spec.get_current_epoch(state), index) is None @with_all_phases