diff --git a/carnot/__init__.py b/carnot/__init__.py new file mode 100644 index 0000000..397eb42 --- /dev/null +++ b/carnot/__init__.py @@ -0,0 +1 @@ +from .carnot import * diff --git a/carnot/test_unhappy_path.py b/carnot/test_unhappy_path.py index 6f2f7ca..6f60215 100644 --- a/carnot/test_unhappy_path.py +++ b/carnot/test_unhappy_path.py @@ -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) \ No newline at end of file + self.assertEqual(leader.highest_voted_view, 1)