aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_multiwallet.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-10-06 17:52:05 -0400
committerMarcoFalke <falke.marco@gmail.com>2019-10-08 13:02:14 -0400
commitfacec1c643105d0ae74b5d32cf33d593f9e82a36 (patch)
tree70ddbd9cd41bb94a5667ec8ccc24c45b7ffe203f /test/functional/wallet_multiwallet.py
parent94e6e9f38deeba61655fee432afe42e66ff72ea3 (diff)
downloadbitcoin-facec1c643105d0ae74b5d32cf33d593f9e82a36.tar.xz
wallet: Avoid showing GUI popups on RPC errors
Diffstat (limited to 'test/functional/wallet_multiwallet.py')
-rwxr-xr-xtest/functional/wallet_multiwallet.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/functional/wallet_multiwallet.py b/test/functional/wallet_multiwallet.py
index 68bc45f986..ce0b7e8782 100755
--- a/test/functional/wallet_multiwallet.py
+++ b/test/functional/wallet_multiwallet.py
@@ -339,14 +339,10 @@ class MultiWalletTest(BitcoinTestFramework):
self.log.info("Fail -upgradewallet that results in downgrade")
assert_raises_rpc_error(
-4,
- "Wallet loading failed.",
+ 'Wallet loading failed: Error loading {}: Wallet requires newer version of {}'.format(
+ wallet_dir('high_minversion', 'wallet.dat'), self.config['environment']['PACKAGE_NAME']),
lambda: self.nodes[0].loadwallet(filename='high_minversion'),
)
- self.stop_node(
- i=0,
- expected_stderr='Error: Error loading {}: Wallet requires newer version of Bitcoin Core'.format(
- wallet_dir('high_minversion', 'wallet.dat')),
- )
if __name__ == '__main__':