Changeset View
Changeset View
Standalone View
Standalone View
test/functional/wallet_importdescriptors.py
Show All 25 Lines | from test_framework.wallet_util import ( | ||||
get_generate_key, | get_generate_key, | ||||
test_address, | test_address, | ||||
) | ) | ||||
class ImportDescriptorsTest(BitcoinTestFramework): | class ImportDescriptorsTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.num_nodes = 2 | self.num_nodes = 2 | ||||
self.extra_args = [[], ["-keypool=5"]] | self.extra_args = [["-ecash"], ["-keypool=5", "-ecash"]] | ||||
self.setup_clean_chain = True | self.setup_clean_chain = True | ||||
def skip_test_if_missing_module(self): | def skip_test_if_missing_module(self): | ||||
self.skip_if_no_wallet() | self.skip_if_no_wallet() | ||||
def test_importdesc(self, req, success, error_code=None, | def test_importdesc(self, req, success, error_code=None, | ||||
error_message=None, warnings=None, wallet=None): | error_message=None, warnings=None, wallet=None): | ||||
"""Run importdescriptors and assert success""" | """Run importdescriptors and assert success""" | ||||
▲ Show 20 Lines • Show All 421 Lines • Show Last 20 Lines |