Skip to content

Commit c5bb142

Browse files
author
klementtan
committed
test: resolve bug in test/functional/interface_bitcoin_cli.py - Test -getinfo with -rpcwallet=unloaded wallet returns no balances
1 parent 480bf01 commit c5bb142

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/interface_bitcoin_cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def run_test(self):
151151
assert_equal(cli_get_info['balance'], amounts[1])
152152

153153
self.log.info("Test -getinfo with -rpcwallet=unloaded wallet returns no balances")
154-
cli_get_info = self.nodes[0].cli('-getinfo', rpcwallet3).send_cli()
154+
cli_get_info_keys = self.nodes[0].cli('-getinfo', rpcwallet3).send_cli().keys()
155155
assert 'balance' not in cli_get_info_keys
156156
assert 'balances' not in cli_get_info_keys
157157

0 commit comments

Comments
 (0)