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
commit 83998b52d0
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
1 changed files with 2 additions and 0 deletions

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