Add missing assertion

This commit is contained in:
danielsanchezq 2023-04-11 17:23:57 +02:00
parent 6d86b131c4
commit 2faa30be55
2 changed files with 3 additions and 1 deletions

1
carnot/__init__.py Normal file
View File

@ -0,0 +1 @@
from .carnot import *

View File

@ -190,6 +190,7 @@ class TestCarnotHappyPath(TestCase):
new_block_1 = leader.latest_event
self.assertEqual(new_block_1.view, 2)
self.assertEqual(new_block_1.qc.view, 1)
self.assertEqual(new_block_1.qc.high_qc().view, 0)
self.assertEqual(leader.last_timeout_view_qc.view, 1)
self.assertEqual(leader.local_high_qc.view, 0)
self.assertEqual(leader.highest_voted_view, 1)
self.assertEqual(leader.highest_voted_view, 1)