From 9377c2d98b3559ed6b13e6b74d8d4030dc63b737 Mon Sep 17 00:00:00 2001 From: mjalalzai <33738574+MForensic@users.noreply.github.com> Date: Thu, 30 Mar 2023 22:57:40 -0700 Subject: [PATCH] Tests for voting --- carnot/test_happy_path.py | 1 + 1 file changed, 1 insertion(+) diff --git a/carnot/test_happy_path.py b/carnot/test_happy_path.py index 8c7dd92..6ef79db 100644 --- a/carnot/test_happy_path.py +++ b/carnot/test_happy_path.py @@ -164,6 +164,7 @@ def test_receive_block_has_an_old_qc(self): #4: If a node counts duplicate votes #6: If a node counts votes of nodes other than it's child committees. #7: If a node counts distinct votes for a safe block from its child committees. + #8: If #7 is true, if node will vote for the mentioned safe block def test_vote_for_received_block(self): carnot = Carnot(int_to_id(0))