diff --git a/tests/integration/wallet/test_commands.py b/tests/integration/wallet/test_commands.py index 4be8b7977..7d4ca8f54 100644 --- a/tests/integration/wallet/test_commands.py +++ b/tests/integration/wallet/test_commands.py @@ -608,7 +608,7 @@ class PublishCommand(CommandTestCase): class AbandonCommand(CommandTestCase): - VERBOSITY = logging.INFO + VERBOSITY = logging.WARN async def test_abandoning_claim_at_loss(self): diff --git a/tests/integration/wallet/test_transactions.py b/tests/integration/wallet/test_transactions.py index 411fccc29..a1008e70a 100644 --- a/tests/integration/wallet/test_transactions.py +++ b/tests/integration/wallet/test_transactions.py @@ -66,13 +66,13 @@ class BasicTransactionTest(IntegrationTestCase): await self.broadcast(cert_tx) await self.broadcast(claim_tx) await asyncio.wait([ # mempool - self.on_transaction(claim_tx), - self.on_transaction(cert_tx) + self.ledger.wait(claim_tx), + self.ledger.wait(cert_tx) ]) await self.blockchain.generate(1) await asyncio.wait([ # confirmed - self.on_transaction(claim_tx), - self.on_transaction(cert_tx) + self.ledger.wait(claim_tx), + self.ledger.wait(cert_tx) ]) self.assertEqual(d2l(await self.account.get_balance()), '7.985786') @@ -84,9 +84,9 @@ class BasicTransactionTest(IntegrationTestCase): abandon_tx = await Transaction.abandon([claim_tx.outputs[0]], [self.account], self.account) await self.broadcast(abandon_tx) - await self.on_transaction(abandon_tx) + await self.ledger.wait(abandon_tx) await self.blockchain.generate(1) - await self.on_transaction(abandon_tx) + await self.ledger.wait(abandon_tx) response = await self.ledger.resolve(0, 10, 'lbry://@bar/foo') self.assertNotIn('claim', response['lbry://@bar/foo'])