Merge #8841: [qa] fix nulldummy test

46a4774 Fix nulldummy.py test (Johnson Lau)
This commit is contained in:
Wladimir J. van der Laan 2016-09-30 12:34:08 +02:00 committed by Alexander Block
parent 4a585b2f20
commit 4bb0cdf400

View File

@ -119,6 +119,8 @@ class NULLDUMMYTest(BitcoinTestFramework):
node.sendrawtransaction(bytes_to_hex_str(tx.serialize_with_witness()), True) node.sendrawtransaction(bytes_to_hex_str(tx.serialize_with_witness()), True)
except JSONRPCException as exp: except JSONRPCException as exp:
assert_equal(exp.error["message"], msg) assert_equal(exp.error["message"], msg)
else:
assert_equal('', msg)
return tx.hash return tx.hash