mirror of
https://github.com/logos-blockchain/logos-blockchain-specs.git
synced 2026-01-07 15:43:07 +00:00
Vote tests
This commit is contained in:
parent
7d0e84fd32
commit
30ebd96ebb
@ -208,7 +208,7 @@ class TestCarnotHappyPath(TestCase):
|
|||||||
self.assertEqual(carnot.highest_voted_view, 1)
|
self.assertEqual(carnot.highest_voted_view, 1)
|
||||||
self.assertEqual(carnot.current_view, 1)
|
self.assertEqual(carnot.current_view, 1)
|
||||||
|
|
||||||
#2 If last_voted_view is incremented after calling vote.
|
#2 If last_voted_view is incremented after calling vote with votes lower than.
|
||||||
|
|
||||||
def test_vote_for_received_block_if_threshold_votes_has_not_reached(self):
|
def test_vote_for_received_block_if_threshold_votes_has_not_reached(self):
|
||||||
class MockOverlay(Overlay):
|
class MockOverlay(Overlay):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user