diff --git a/tests/test_2024_11_26.py b/tests/test_2024_11_26.py index 290444e4..02955f34 100644 --- a/tests/test_2024_11_26.py +++ b/tests/test_2024_11_26.py @@ -82,7 +82,7 @@ def test_vote(helpers, accounts, vote_ids_from_env, stranger): pml_trusted_caller_acc = pml_multisig_acc pml_top_up_evm_script_factory = interface.TopUpAllowedRecipients("0x92a27C4e5e35cFEa112ACaB53851Ec70e2D99a8D") pml_budget_limit_after_expected = 4_000_000 * 10**18 - pml_spent_amount_after_expected = 2_000_000 * 10**18 + pml_budget_limit_diff_expected = 2_000_000 * 10**18 pml_period_start_exptected = 1727740800 pml_period_end_exptected = 1735689600 @@ -179,9 +179,9 @@ def test_vote(helpers, accounts, vote_ids_from_env, stranger): assert pml_period_end_after == pml_period_end_exptected assert pml_budget_limit_after == pml_budget_limit_after_expected assert pml_period_duration_months_after == 3 - assert pml_spend_limit_after == pml_spent_amount_after_expected + assert pml_spend_limit_after == pml_initial_spendable_balance - pml_budget_limit_diff_expected assert interface.AllowedRecipientRegistry(pml_allowed_recipients_registry).isUnderSpendableBalance(pmlSpendableBalanceAfter, 3) - assert pmlSpendableBalanceAfter == pml_spent_amount_after_expected + assert pmlSpendableBalanceAfter == pml_initial_spendable_balance - pml_budget_limit_diff_expected # Item 3 stonks_steth_budget_limit_after, stonks_steth_period_duration_months_after = interface.AllowedRecipientRegistry(stonks_steth_allowed_recipients_registry).getLimitParameters()