diff options
author | MacroFake <falke.marco@gmail.com> | 2022-11-09 12:53:13 +0100 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-11-10 17:19:13 +0100 |
commit | 555519d082fbe5e047595f06d7f301e441bb7149 (patch) | |
tree | a2be0d70084a8532d69376ab7071ff52e309ef5f /test/functional/wallet_signer.py | |
parent | fac8d59d310fa94a8d5dd99659a76cd958d1fd1b (diff) | |
download | bitcoin-555519d082fbe5e047595f06d7f301e441bb7149.tar.xz |
test: Remove wallet option from non-wallet tests
Review note: The changes are complete, because self.options.descriptors
is set to None in parse_args (test_framework.py).
A value of None implies -disablewallet, see the previous commit.
So if a call to add_wallet_options is missing, it will lead to a test
failure when the wallet is compiled in.
Diffstat (limited to 'test/functional/wallet_signer.py')
-rwxr-xr-x | test/functional/wallet_signer.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/wallet_signer.py b/test/functional/wallet_signer.py index db3a8a2efa..9ab7154424 100755 --- a/test/functional/wallet_signer.py +++ b/test/functional/wallet_signer.py @@ -18,6 +18,9 @@ from test_framework.util import ( class WalletSignerTest(BitcoinTestFramework): + def add_options(self, parser): + self.add_wallet_options(parser, legacy=False) + def mock_signer_path(self): path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'mocks', 'signer.py') if platform.system() == "Windows": |