From 7a491bb7811ffbe875945dd92b3fad570acdd3fb Mon Sep 17 00:00:00 2001 From: Troy McConaghy Date: Thu, 7 Dec 2017 13:33:57 +0100 Subject: [PATCH] Removed pytest-catchlog from setup.py & fixed one failing test --- setup.py | 1 - tests/backend/localmongodb/test_queries.py | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 882b0915..49325444 100644 --- a/setup.py +++ b/setup.py @@ -52,7 +52,6 @@ tests_require = [ 'hypothesis-regex', 'pylint', 'pytest>=3.0.0', - 'pytest-catchlog>=1.2.2', 'pytest-cov>=2.2.1', 'pytest-mock', 'pytest-xdist', diff --git a/tests/backend/localmongodb/test_queries.py b/tests/backend/localmongodb/test_queries.py index 5456a68f..ad89848f 100644 --- a/tests/backend/localmongodb/test_queries.py +++ b/tests/backend/localmongodb/test_queries.py @@ -89,13 +89,14 @@ def test_get_owned_ids(signed_create_tx, user_pk): assert txns[0] == signed_create_tx.to_dict() -def test_get_spending_transactions(user_pk): +def test_get_spending_transactions(user_pk, user_sk): from bigchaindb.backend import connect, query from bigchaindb.models import Transaction conn = connect() out = [([user_pk], 1)] tx1 = Transaction.create([user_pk], out * 3) + tx1.sign([user_sk]) inputs = tx1.to_inputs() tx2 = Transaction.transfer([inputs[0]], out, tx1.id) tx3 = Transaction.transfer([inputs[1]], out, tx1.id)