diff options
author | Andrew Chow <achow101-github@achow101.com> | 2020-06-15 14:37:29 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2020-07-01 12:32:03 -0400 |
commit | 8f1bcf8b7b6e47c05f2e43dd98ec3505b888d8b3 (patch) | |
tree | b0b8829b2b045b33537de2cc3c5a6c1661ab47fd /test/functional/tool_wallet.py | |
parent | dbd7a91fdf3ff801fe5e4107e8346d0d6d11a899 (diff) |
walletdb: Combine VerifyDatabaseFile and VerifyEnvironment
Combine these two functions into a single Verify function that is a
member of WalletDatabase. Additionally, these are no longer static.
Diffstat (limited to 'test/functional/tool_wallet.py')
-rwxr-xr-x | test/functional/tool_wallet.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/tool_wallet.py b/test/functional/tool_wallet.py index 524e1593ba..18f0beb598 100755 --- a/test/functional/tool_wallet.py +++ b/test/functional/tool_wallet.py @@ -71,8 +71,7 @@ class ToolWalletTest(BitcoinTestFramework): self.assert_raises_tool_error('Error: two methods provided (info and create). Only one method should be provided.', 'info', 'create') self.assert_raises_tool_error('Error parsing command line arguments: Invalid parameter -foo', '-foo') self.assert_raises_tool_error( - 'Error initializing wallet database environment "{}"!\nError loading wallet.dat. Is wallet being used by other process?' - .format(os.path.join(self.nodes[0].datadir, self.chain, 'wallets')), + 'Error loading wallet.dat. Is wallet being used by another process?', '-wallet=wallet.dat', 'info', ) |