message: Add descriptor wallet output to tool_wallet.py
  Descriptor wallets output slightly different information in the wallet
  tool, so check that output when in descriptor wallet mode.
diff: @@ -71,8 +71,11 @@ 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')
  locked_dir = os.path.join(self.options.tmpdir, "node0", "regtest", "wallets")
  + error = 'Error initializing wallet database environment "{}"!'.format(locked_dir)
  + if self.options.descriptors:
  + error = "SQLiteDatabase: Unable to obtain an exclusive lock on the database, is it being used by another bitcoind?"
  self.assert_raises_tool_error(
  - 'Error initializing wallet database environment "{}"!'.format(locked_dir),
  + error,
  '-wallet=' + self.default_wallet_name,
  'info',
  )
  @@ -95,6 +98,20 @@ class ToolWalletTest(BitcoinTestFramework):
  # shasum_before = self.wallet_shasum()
  timestamp_before = self.wallet_timestamp()
  self.log.debug('Wallet file timestamp before calling info: {}'.format(timestamp_before))
  + if self.options.descriptors:
  + out = textwrap.dedent('''\
  + Wallet info
  + ===========
  + Name: default_wallet
  + Format: sqlite
  + Descriptors: yes
  + Encrypted: no
  + HD (hd seed available): yes
  + Keypool Size: 6
  + Transactions: 0
  + Address Book: 1
  + ''')
  + else:
  out = textwrap.dedent('''\
  Wallet info
  ===========
  @@ -138,6 +155,20 @@ class ToolWalletTest(BitcoinTestFramework):
  shasum_before = self.wallet_shasum()
  timestamp_before = self.wallet_timestamp()
  self.log.debug('Wallet file timestamp before calling info: {}'.format(timestamp_before))
  + if self.options.descriptors:
  + out = textwrap.dedent('''\
  + Wallet info
  + ===========
  + Name: default_wallet
  + Format: sqlite
  + Descriptors: yes
  + Encrypted: no
  + HD (hd seed available): yes
  + Keypool Size: 6
  + Transactions: 1
  + Address Book: 1
  + ''')
  + else:
  out = textwrap.dedent('''\
  Wallet info
  ===========
  