mirror of
https://github.com/planetmint/planetmint.git
synced 2025-11-24 14:35:45 +00:00
fixed obj comparision issue in test_get_spent_issue_1271
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
parent
86f9d07f8f
commit
d8d9e2e75d
@ -89,7 +89,7 @@ def test_get_spent_issue_1271(b, alice, bob, carol):
|
|||||||
assert b.validate_transaction(tx_5)
|
assert b.validate_transaction(tx_5)
|
||||||
|
|
||||||
b.store_bulk_transactions([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 not b.get_spent(tx_5.id, 0)
|
||||||
assert b.get_outputs_filtered(alice.public_key)
|
assert b.get_outputs_filtered(alice.public_key)
|
||||||
assert b.get_outputs_filtered(alice.public_key, spent=False)
|
assert b.get_outputs_filtered(alice.public_key, spent=False)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user