qa: Run all tests even if wallet is not compiled

This commit is contained in:
MarcoFalke committed 2018-09-10 17:53:21 -04:00
1 parent faa669cbcd
commit fac9539836
85 files changed
+378 -72

No files matched your search

@@ -12,6 +12,9 @@ class ResendWalletTransactionsTest(BitcoinTestFramework):
self.num_nodes = 1
self.extra_args = [['--walletbroadcast=false']]
def skip_test_if_missing_module(self):
self.skip_if_no_wallet()
def run_test(self):
# Should raise RPC_WALLET_ERROR (-4) if walletbroadcast is disabled.
assert_raises_rpc_error(-4, "Error: Wallet transaction broadcasting is disabled with -walletbroadcast", self.nodes[0].resendwallettransactions)