From 36031c9d0fd1bbbcd809f74653f56e4416196c4a Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Wed, 16 Oct 2019 10:18:40 -0300 Subject: [PATCH] fix test, off by 1 --- torba/tests/client_tests/integration/test_network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torba/tests/client_tests/integration/test_network.py b/torba/tests/client_tests/integration/test_network.py index b56734110..ab288c48f 100644 --- a/torba/tests/client_tests/integration/test_network.py +++ b/torba/tests/client_tests/integration/test_network.py @@ -87,7 +87,7 @@ class ReconnectTests(IntegrationTestCase): await self.ledger.network.start() await self.ledger.network.on_connected.first await self.ledger.initial_headers_sync() - self.assertEqual(initial_height + 99, self.ledger.local_height_including_downloaded_height) + self.assertEqual(initial_height + 100, self.ledger.local_height_including_downloaded_height) async def test_connection_drop_still_receives_events_after_reconnected(self): address1 = await self.account.receiving.get_or_create_usable_address()