have to explicitly subscribe accounts

This commit is contained in:
Lex Berezhny 2018-08-30 14:40:44 -04:00
parent b102afd68a
commit 91d95bd42e

View file

@ -9,6 +9,8 @@ class BasicTransactionTests(IntegrationTestCase):
async def test_sending_and_receiving(self): async def test_sending_and_receiving(self):
account1, account2 = self.account, self.wallet.generate_account(self.ledger) account1, account2 = self.account, self.wallet.generate_account(self.ledger)
yield self.ledger.update_account(account1)
yield self.ledger.update_account(account2)
self.assertEqual(await self.get_balance(account1), 0) self.assertEqual(await self.get_balance(account1), 0)
self.assertEqual(await self.get_balance(account2), 0) self.assertEqual(await self.get_balance(account2), 0)