diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-06-14 12:28:54 +0200 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-06-21 08:47:54 +0200 |
commit | fa493fadfb0ac73b7c0ee308f6623213702ae6f4 (patch) | |
tree | 420057abeccabd70d3657fbc6bf79871fbb6313a /test/functional/wallet_backup.py | |
parent | d1ae96755a0f9d7e12c3f6741c030d8ea6d0416f (diff) |
test: Use wallet_dir lambda in wallet_multiwallet test where possible
Seems odd to hardcode all parent directory names in the path for no good
reason.
Also, add wallet_path property to TestNode.
Also, rework wallet_backup.py test for scripted-diff in the next commit.
Diffstat (limited to 'test/functional/wallet_backup.py')
-rwxr-xr-x | test/functional/wallet_backup.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/wallet_backup.py b/test/functional/wallet_backup.py index 4ad25d964e..daf4cf74cb 100755 --- a/test/functional/wallet_backup.py +++ b/test/functional/wallet_backup.py @@ -249,7 +249,7 @@ class WalletBackupTest(BitcoinTestFramework): # Backup to source wallet file must fail sourcePaths = [ os.path.join(self.nodes[0].datadir, self.chain, 'wallets', self.default_wallet_name, self.wallet_data_filename), - os.path.join(self.nodes[0].datadir, self.chain, '.', 'wallets', self.default_wallet_name, self.wallet_data_filename), + os.path.join(self.nodes[0].datadir, self.chain, 'wallets', '.', self.default_wallet_name, self.wallet_data_filename), os.path.join(self.nodes[0].datadir, self.chain, 'wallets', self.default_wallet_name), os.path.join(self.nodes[0].datadir, self.chain, 'wallets')] |