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
@@ -213,7 +213,7 @@ class ToolWalletTest(BitcoinTestFramework):
self.assert_tool_output('', '-wallet=salvage', 'salvage')
def run_test(self):
self.wallet_path = os.path.join(self.nodes[0].datadir, self.chain, 'wallets', 'wallet.dat')
self.wallet_path = os.path.join(self.nodes[0].datadir, self.chain, 'wallets', self.default_wallet_name, self.wallet_data_filename)
self.test_invalid_tool_commands_and_args()
# Warning: The following tests are order-dependent.
self.test_tool_wallet_info()