From ff8d37443ed3f2ef62380d16141fe1c229f7379b Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Fri, 3 Aug 2018 22:27:08 -0300 Subject: [PATCH] more checks on test_transactions --- tests/integration/wallet/test_transactions.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/integration/wallet/test_transactions.py b/tests/integration/wallet/test_transactions.py index 8ef1e6708..7ee23236c 100644 --- a/tests/integration/wallet/test_transactions.py +++ b/tests/integration/wallet/test_transactions.py @@ -80,6 +80,7 @@ class BasicTransactionTest(IntegrationTestCase): response = await d2f(self.ledger.resolve(0, 10, 'lbry://@bar/foo')) self.assertIn('lbry://@bar/foo', response) + self.assertIn('claim', response['lbry://@bar/foo']) abandon_tx = await d2f(Transaction.abandon([claim_tx.outputs[0]], [self.account], self.account)) await self.broadcast(abandon_tx) @@ -88,5 +89,5 @@ class BasicTransactionTest(IntegrationTestCase): await self.on_transaction(abandon_tx) # should not resolve, but does, why? - # response = await d2f(self.ledger.resolve(0, 10, 'lbry://@bar/foo')) - # self.assertNotIn('lbry://@bar/foo', response) + response = await d2f(self.ledger.resolve(0, 10, 'lbry://@bar/foo')) + self.assertNotIn('claim', response['lbry://@bar/foo'])