This commit is contained in:
Lex Berezhny 2019-10-16 13:54:09 -04:00
parent 46465f5409
commit 39bc8c45c3

View file

@ -102,7 +102,7 @@ class WalletEncryptionAndSynchronization(CommandTestCase):
self.assertEqual(daemon.jsonrpc_wallet_status(), {'is_locked': True, 'is_encrypted': True})
# can't sign transactions with locked wallet
with self.assertRaises(error.ComponentStartConditionNotMet):
with self.assertRaises(AssertionError):
await daemon.jsonrpc_channel_create('@foo', '1.0')
daemon.jsonrpc_wallet_unlock('password')
self.assertEqual(daemon.jsonrpc_wallet_status(), {'is_locked': False, 'is_encrypted': True})