Browse Source

Merge #8841: [qa] fix nulldummy test

46a4774 Fix nulldummy.py test (Johnson Lau)
0.14
Wladimir J. van der Laan 8 years ago
parent
commit
83998b52d0
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      qa/rpc-tests/nulldummy.py

2
qa/rpc-tests/nulldummy.py

@ -119,6 +119,8 @@ class NULLDUMMYTest(BitcoinTestFramework): @@ -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

Loading…
Cancel
Save