-
Notifications
You must be signed in to change notification settings - Fork 793
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add coverage for -rpcwallet cli option
Summary: and add -getinfo coverage with multiple wallets loaded. > The bitcoin-cli -rpcwallet= option is an essential RPC/CLI option when more than one wallet is loaded (see bitcoin-cli -help | grep -A5 rpcwallet or src/bitcoin-cli.cpp::L61) and it currently has no test coverage. > > It is not only used by users, but also by the test framework and ~10 test files via get_wallet_rpc(). > > This PR adds coverage, while simultaneously improving the -getinfo coverage when multiple wallets are loaded. This is a backport of Core [[bitcoin/bitcoin#18724 | PR18724]] Test Plan: `./test/functional/test_runner.py interface_bit*` Reviewers: #bitcoin_abc, Fabien Reviewed By: #bitcoin_abc, Fabien Differential Revision: https://reviews.bitcoinabc.org/D8975
- Loading branch information
Showing
1 changed file
with
57 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters