diff options
author | MacroFake <falke.marco@gmail.com> | 2022-11-10 10:12:39 +0100 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-11-10 10:01:31 +0100 |
commit | fa68937b89aa5b10b33b3f5146390cd7ad369ff7 (patch) | |
tree | 78ce9148f571c6f753c7b799bdf0bb155c6f07f6 /test/functional/interface_bitcoin_cli.py | |
parent | 9dce30194bc07463d634072251a8bf83e1b10ff9 (diff) |
test: Make requires_wallet private
The bool is only used to call a public helper, which some tests already
do. So use the public helper in all tests consistently and make the
confusingly named bool private.
Diffstat (limited to 'test/functional/interface_bitcoin_cli.py')
-rwxr-xr-x | test/functional/interface_bitcoin_cli.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/interface_bitcoin_cli.py b/test/functional/interface_bitcoin_cli.py index db5564ac50..e9a7d417a7 100755 --- a/test/functional/interface_bitcoin_cli.py +++ b/test/functional/interface_bitcoin_cli.py @@ -69,8 +69,6 @@ class TestBitcoinCli(BitcoinTestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 1 - if self.is_specified_wallet_compiled(): - self.requires_wallet = True def skip_test_if_missing_module(self): self.skip_if_no_cli() @@ -114,6 +112,7 @@ class TestBitcoinCli(BitcoinTestFramework): self.log.info("Test -getinfo returns expected network and blockchain info") if self.is_specified_wallet_compiled(): + self.import_deterministic_coinbase_privkeys() self.nodes[0].encryptwallet(password) cli_get_info_string = self.nodes[0].cli('-getinfo').send_cli() cli_get_info = cli_get_info_string_to_dict(cli_get_info_string) |