test, refactor: add default_wallet_name and wallet_data_filename variables

No changes in behavior
This commit is contained in:
Russell Yanofsky committed 2020-09-29 04:35:01 -04:00
1 parent ec9b4492eb
commit ed3acda33b
15 files changed
+38 -36

No files matched your search

+1 -1
View File
@@ -95,7 +95,7 @@ class TestBitcoinCli(BitcoinTestFramework):
assert_equal(self.nodes[0].cli.getwalletinfo(), wallet_info)
# Setup to test -getinfo, -generate, and -rpcwallet= with multiple wallets.
wallets = ['', 'Encrypted', 'secret']
wallets = [self.default_wallet_name, 'Encrypted', 'secret']
amounts = [BALANCE + Decimal('9.999928'), Decimal(9), Decimal(31)]
self.nodes[0].createwallet(wallet_name=wallets[1])
self.nodes[0].createwallet(wallet_name=wallets[2])