From 479b5d31a9f4ab69b2904062b929e6dd7dad69e0 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Tue, 22 Dec 2020 14:06:53 -0500 Subject: [PATCH] fix test --- tests/unit/wallet/test_ledger.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/unit/wallet/test_ledger.py b/tests/unit/wallet/test_ledger.py index c8385c837..276c5fa15 100644 --- a/tests/unit/wallet/test_ledger.py +++ b/tests/unit/wallet/test_ledger.py @@ -126,9 +126,7 @@ class TestSynchronization(LedgerTestCase): self.ledger.network.get_history_called = [] self.ledger.network.get_transaction_called = [] - self.assertFalse(self.ledger._tx_cache[txid1].tx.is_verified) - self.assertFalse(self.ledger._tx_cache[txid2].tx.is_verified) - self.assertFalse(self.ledger._tx_cache[txid3].tx.is_verified) + self.assertEqual(0, len(self.ledger._tx_cache)) await self.ledger.update_history(address, '') self.assertListEqual(self.ledger.network.get_history_called, [address]) self.assertListEqual(self.ledger.network.get_transaction_called, [])