From 42c7d53782a383cbb0df6a57f3ee5248a20b06c4 Mon Sep 17 00:00:00 2001 From: Lorenz Herzberger Date: Thu, 14 Apr 2022 10:38:54 +0200 Subject: [PATCH] fixed txlist tests Signed-off-by: Lorenz Herzberger --- tests/test_txlist.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_txlist.py b/tests/test_txlist.py index 88f659c..a44cb4c 100644 --- a/tests/test_txlist.py +++ b/tests/test_txlist.py @@ -38,12 +38,12 @@ def txlist(b, user_pk, user2_pk, user_sk, user2_sk): @pytest.mark.bdb def test_get_txlist_by_asset(b, txlist): - res = b.get_transactions_filtered(txlist.create1.id) + res = b.get_transactions_filtered([txlist.create1.id]) assert sorted(set(tx.id for tx in res)) == sorted( set([txlist.transfer1.id, txlist.create1.id])) @pytest.mark.bdb def test_get_txlist_by_operation(b, txlist): - res = b.get_transactions_filtered(txlist.create1.id, operation='CREATE') + res = b.get_transactions_filtered([txlist.create1.id], operation='CREATE') assert set(tx.id for tx in res) == {txlist.create1.id}