Changeset View
Changeset View
Standalone View
Standalone View
test/functional/tool_wallet.py
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Lines | def run_test(self): | ||||
out = textwrap.dedent('''\ | out = textwrap.dedent('''\ | ||||
Wallet info | Wallet info | ||||
=========== | =========== | ||||
Encrypted: no | Encrypted: no | ||||
HD (hd seed available): yes | HD (hd seed available): yes | ||||
Keypool Size: 2 | Keypool Size: 2 | ||||
Transactions: 0 | Transactions: 0 | ||||
Address Book: 0 | Address Book: 1 | ||||
''') | ''') | ||||
self.assert_tool_output(out, '-wallet=wallet.dat', 'info') | self.assert_tool_output(out, '-wallet=wallet.dat', 'info') | ||||
# mutate the wallet to check the info command output changes | # mutate the wallet to check the info command output changes | ||||
# accordingly | # accordingly | ||||
self.start_node(0) | self.start_node(0) | ||||
self.nodes[0].generate(1) | self.nodes[0].generate(1) | ||||
self.stop_node(0) | self.stop_node(0) | ||||
Show All 36 Lines |