added wallet.save() in test since it is no longer saved redundantly on startup

This commit is contained in:
Lex Berezhny 2019-10-18 15:58:32 -04:00
parent 583833017b
commit 481e265ec7

View file

@ -83,6 +83,7 @@ class WalletEncryptionAndSynchronization(CommandTestCase):
async def test_encryption_and_locking(self):
daemon = self.daemon
wallet = daemon.wallet_manager.default_wallet
wallet.save()
self.assertEqual(daemon.jsonrpc_wallet_status(), {'is_locked': False, 'is_encrypted': False})
self.assertIsNone(daemon.jsonrpc_preference_get(ENCRYPT_ON_DISK))