mirror of
https://github.com/logos-blockchain/logos-blockchain-specs.git
synced 2026-01-09 08:33:09 +00:00
Add block assertions on mixed unhappy test
This commit is contained in:
parent
ef64e866cd
commit
570181bddc
@ -268,3 +268,8 @@ class TestCarnotUnhappyPath(TestCase):
|
||||
root_votes = succeed(self, overlay, nodes, proposed_block)
|
||||
leader.propose_block(view, root_votes)
|
||||
proposed_block = leader.latest_event
|
||||
|
||||
committed_blocks = [view for view in range(1, 11) if view not in (4, 7)]
|
||||
for node in nodes.values():
|
||||
for view in committed_blocks:
|
||||
self.assertIn(view, [block.view for block in node.committed_blocks.values()])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user