Wait for initial sync in test_wallet_syncing_status().
This commit is contained in:
parent
8c474a69de
commit
cd6d3fec9c
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ class WalletCommands(CommandTestCase):
|
|||
|
||||
async def test_wallet_syncing_status(self):
|
||||
address = await self.daemon.jsonrpc_address_unused()
|
||||
await self.ledger._update_tasks.done.wait()
|
||||
self.assertFalse(self.daemon.jsonrpc_wallet_status()['is_syncing'])
|
||||
await self.send_to_address_and_wait(address, 1)
|
||||
await self.ledger._update_tasks.started.wait()
|
||||
|
|
Loading…
Reference in a new issue