mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-10 09:36:39 +00:00
finalize_test
--> finish_test
This commit is contained in:
parent
6146f01400
commit
88a69512b2
@ -43,7 +43,7 @@ def setup_test(spec, state):
|
|||||||
return test
|
return test
|
||||||
|
|
||||||
|
|
||||||
def finalize_test(test):
|
def finish_test(test):
|
||||||
yield "steps", test.steps
|
yield "steps", test.steps
|
||||||
yield "expected_finalized_header", test.store.finalized_header
|
yield "expected_finalized_header", test.store.finalized_header
|
||||||
yield "expected_optimistic_header", test.store.optimistic_header
|
yield "expected_optimistic_header", test.store.optimistic_header
|
||||||
@ -313,7 +313,7 @@ def test_light_client_sync(spec, state):
|
|||||||
assert test.store.optimistic_header.slot == attested_state.slot
|
assert test.store.optimistic_header.slot == attested_state.slot
|
||||||
|
|
||||||
# Finish test
|
# Finish test
|
||||||
yield from finalize_test(test)
|
yield from finish_test(test)
|
||||||
|
|
||||||
|
|
||||||
@with_altair_and_later
|
@with_altair_and_later
|
||||||
@ -345,7 +345,7 @@ def test_supply_sync_committee_from_past_update(spec, state):
|
|||||||
assert test.store.optimistic_header.slot == state.slot
|
assert test.store.optimistic_header.slot == state.slot
|
||||||
|
|
||||||
# Finish test
|
# Finish test
|
||||||
yield from finalize_test(test)
|
yield from finish_test(test)
|
||||||
|
|
||||||
|
|
||||||
@with_altair_and_later
|
@with_altair_and_later
|
||||||
@ -421,4 +421,4 @@ def test_advance_finality_without_sync_committee(spec, state):
|
|||||||
assert test.store.optimistic_header.slot == attested_state.slot
|
assert test.store.optimistic_header.slot == attested_state.slot
|
||||||
|
|
||||||
# Finish test
|
# Finish test
|
||||||
yield from finalize_test(test)
|
yield from finish_test(test)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user