mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
test: Add smoke test to check that wallets are flushed by default
This commit is contained in:
parent
c4a44186d8
commit
fa28a61897
1 changed files with 5 additions and 0 deletions
|
|
@ -202,5 +202,10 @@ class WalletDumpTest(BitcoinTestFramework):
|
|||
result = self.nodes[0].getaddressinfo(multisig_addr)
|
||||
assert result['ismine']
|
||||
|
||||
self.log.info('Check that wallet is flushed')
|
||||
with self.nodes[0].assert_debug_log(['Flushing wallet.dat'], timeout=20):
|
||||
self.nodes[0].getnewaddress()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
WalletDumpTest().main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue