From 25cdc8d279a03be5050f5da1e213410ab36001d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Palmer?= Date: Tue, 6 Feb 2024 08:57:56 +0100 Subject: [PATCH] Tests: fixed use of the with_hash argument --- test/python/test_instructions.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/python/test_instructions.py b/test/python/test_instructions.py index 1a50098c..83cc7833 100644 --- a/test/python/test_instructions.py +++ b/test/python/test_instructions.py @@ -313,7 +313,7 @@ def test_sign_preattestation( chain_id=main_chain_id ) - if with_hash: + if not with_hash: signature = client.sign_message(account, preattestation) account.check_signature(signature, bytes(preattestation)) else: @@ -363,7 +363,7 @@ def test_sign_attestation( chain_id=main_chain_id ) - if with_hash: + if not with_hash: signature = client.sign_message(account, attestation) account.check_signature(signature, bytes(attestation)) else: @@ -413,7 +413,7 @@ def test_sign_attestation_dal( chain_id=main_chain_id ) - if with_hash: + if not with_hash: signature = client.sign_message(account, attestation) account.check_signature(signature, bytes(attestation)) else: @@ -463,7 +463,7 @@ def test_sign_block( chain_id=main_chain_id ) - if with_hash: + if not with_hash: signature = client.sign_message(account, block) account.check_signature(signature, bytes(block)) else: @@ -610,7 +610,7 @@ def test_sign_delegation( raw_delegation = delegation.forge() - if with_hash: + if not with_hash: signature = tezos_navigator.sign_delegation( account, delegation,