aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests
diff options
context:
space:
mode:
authorJohnson Lau <jl2012@xbt.hk>2016-09-30 00:18:13 +0800
committerMarcoFalke <falke.marco@gmail.com>2016-10-03 10:57:22 +0200
commit3e4abb5025f4b7415fa57d576efebe1d45fd204e (patch)
treec6a1ac330a094bd15436fe79281eeb0dc60233fe /qa/rpc-tests
parent31ab2f862ad48e89314611faa0debc916317cb16 (diff)
Fix nulldummy.py test
Github-Pull: #8841 Rebased-From: 46a4774d2bb9cc863e43507212ef989fa10d56d4
Diffstat (limited to 'qa/rpc-tests')
-rwxr-xr-xqa/rpc-tests/nulldummy.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/qa/rpc-tests/nulldummy.py b/qa/rpc-tests/nulldummy.py
index 6488a92364..54b7eac376 100755
--- a/qa/rpc-tests/nulldummy.py
+++ b/qa/rpc-tests/nulldummy.py
@@ -119,6 +119,8 @@ class NULLDUMMYTest(BitcoinTestFramework):
node.sendrawtransaction(bytes_to_hex_str(tx.serialize_with_witness()), True)
except JSONRPCException as exp:
assert_equal(exp.error["message"], msg)
+ else:
+ assert_equal('', msg)
return tx.hash