aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/nulldummy.py
diff options
context:
space:
mode:
authorJohnson Lau <[email protected]>2016-09-30 00:18:13 +0800
committerJohnson Lau <[email protected]>2016-09-30 02:48:09 +0800
commit46a4774d2bb9cc863e43507212ef989fa10d56d4 (patch)
treeb6f6f63ace3e3d13e60ac4251bedd9dbab47511c /qa/rpc-tests/nulldummy.py
parentMerge #8819: [depends] Boost 1.61.0 (diff)
downloaddiscoin-46a4774d2bb9cc863e43507212ef989fa10d56d4.tar.xz
discoin-46a4774d2bb9cc863e43507212ef989fa10d56d4.zip
Fix nulldummy.py test
Diffstat (limited to 'qa/rpc-tests/nulldummy.py')
-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 6488a9236..54b7eac37 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