diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-01-21 13:57:59 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-01-21 19:29:58 +0100 |
commit | fa06bce4ac17f93decd4ee38c956e7aa55983f0d (patch) | |
tree | 20564a18777fb0bdf9d19eefb63d483ce560fefb | |
parent | fac05ccdade8b34c969b9cd9b37b355bc0aabf9c (diff) |
test: Add tests
-rwxr-xr-x | test/functional/tool_wallet.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/tool_wallet.py b/test/functional/tool_wallet.py index 8a1af24dcf..cbc6feaa0e 100755 --- a/test/functional/tool_wallet.py +++ b/test/functional/tool_wallet.py @@ -188,6 +188,8 @@ class ToolWalletTest(BitcoinTestFramework): self.assert_raises_tool_error('Invalid command: help', 'help') 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('No method provided. Run `bitcoin-wallet -help` for valid methods.') + self.assert_raises_tool_error('Wallet name must be provided when creating a new wallet.', 'create') locked_dir = os.path.join(self.options.tmpdir, "node0", "regtest", "wallets") error = 'Error initializing wallet database environment "{}"!'.format(locked_dir) if self.options.descriptors: |