Skip to content

Commit d22e7ee

Browse files
author
MarcoFalke
committed
Merge bitcoin/bitcoin#21822: test: resolve bug in interface_bitcoin_cli.py
c5bb142 test: resolve bug in test/functional/interface_bitcoin_cli.py - Test -getinfo with -rpcwallet=unloaded wallet returns no balances (klementtan) Pull request description: I think there is a bug in this test case where the new value of `cli_get_info` is not asserted. ACKs for top commit: jonatack: ACK c5bb142 Tree-SHA512: 50c0c2c8fe63c95f951dee892fbacedf92208f47efe5ed481fbb255f15137c799d9200fa3ff31a442df0691248d7ff04d899842722c3032cd7f35553622ba38c
2 parents bb11a98 + c5bb142 commit d22e7ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/interface_bitcoin_cli.py

Lines changed: 1 addition & 1 deletion
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)