From 2c148c41d163adc78b6875786215a14cebaee966 Mon Sep 17 00:00:00 2001 From: Shahul Hameed <10547529+shahthepro@users.noreply.github.com> Date: Tue, 28 May 2024 22:05:34 +0530 Subject: [PATCH] Fix test --- tests/governance/test_vote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/governance/test_vote.py b/tests/governance/test_vote.py index d70d8b46..c5bc1c85 100644 --- a/tests/governance/test_vote.py +++ b/tests/governance/test_vote.py @@ -145,7 +145,7 @@ def test_late_vote_extends_quorum( governance.castVote(tx.return_value, 1, {"from": whale_voter}) proposal = governance.proposals(tx.return_value) # Extends for 1 day beyond the current block - assert proposal[4] == 7208 + web3.eth.block_number + assert proposal[4] == 7202 + web3.eth.block_number def test_timelock_proposal_can_be_cancelled(