From 5bf9b4b8bcd198ac1176d64484ee33f0706112d4 Mon Sep 17 00:00:00 2001 From: muxator Date: Wed, 15 Nov 2023 14:50:18 +0100 Subject: [PATCH] ROLLME: replace assert with bitcoin's custom assert_equal() function --- test/functional/test_framework/test_framework_itcoin_frost.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/test_framework/test_framework_itcoin_frost.py b/test/functional/test_framework/test_framework_itcoin_frost.py index 975dbc59e4854..f7fa2f7a14a59 100644 --- a/test/functional/test_framework/test_framework_itcoin_frost.py +++ b/test/functional/test_framework/test_framework_itcoin_frost.py @@ -47,7 +47,7 @@ def set_test_params(self, set_signet_challenge_as_extra_arg=True, tweak_public_k for p in self.participants: for i in self.participants: if i != p: - assert(p.verify_proof_of_knowledge(i.proof_of_knowledge, i.coefficient_commitments[0], i.index)) + assert_equal(p.verify_proof_of_knowledge(i.proof_of_knowledge, i.coefficient_commitments[0], i.index), True) # shares generation for p in self.participants: @@ -57,7 +57,7 @@ def set_test_params(self, set_signet_challenge_as_extra_arg=True, tweak_public_k for i in self.participants: for l in self.participants: if i != l: - assert(i.verify_share(l.shares[i.index -1], l.coefficient_commitments)) + assert_equal(i.verify_share(l.shares[i.index -1], l.coefficient_commitments), True) # computation of partial secrets for p in self.participants: