From d8d9e2e75d57c4192e6df72d16c5b9467577f96a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Eckel?= Date: Wed, 11 Jan 2023 21:06:43 +0100 Subject: [PATCH] fixed obj comparision issue in test_get_spent_issue_1271 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Eckel --- tests/test_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_core.py b/tests/test_core.py index 9d2802b..73f6778 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -89,7 +89,7 @@ def test_get_spent_issue_1271(b, alice, bob, carol): assert b.validate_transaction(tx_5) b.store_bulk_transactions([tx_5]) - assert b.get_spent(tx_2.id, 0) == tx_5 + assert b.get_spent(tx_2.id, 0) == tx_5.to_dict() assert not b.get_spent(tx_5.id, 0) assert b.get_outputs_filtered(alice.public_key) assert b.get_outputs_filtered(alice.public_key, spent=False)