Fix nulldummy.py test

Github-Pull: #8841
Rebased-From: 46a4774d2bb9cc863e43507212ef989fa10d56d4
This commit is contained in:
Johnson Lau 2016-09-30 00:18:13 +08:00 committed by MarcoFalke
parent 31ab2f862a
commit 3e4abb5025

View File

@ -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