aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/rawtransactions.py
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2016-04-03 21:20:14 +0200
committerMarcoFalke <[email protected]>2016-04-03 21:33:56 +0200
commitffff866da83209dcaa463d8b9539d3f539f83a97 (patch)
treed1adb0a90470bee083786f288ca8a9c46a29ae8f /qa/rpc-tests/rawtransactions.py
parentMerge #7797: RPC: fix generatetoaddress failing to parse address (diff)
downloaddiscoin-ffff866da83209dcaa463d8b9539d3f539f83a97.tar.xz
discoin-ffff866da83209dcaa463d8b9539d3f539f83a97.zip
[qa] Remove misleading "errorString syntax"
Diffstat (limited to 'qa/rpc-tests/rawtransactions.py')
-rwxr-xr-xqa/rpc-tests/rawtransactions.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/qa/rpc-tests/rawtransactions.py b/qa/rpc-tests/rawtransactions.py
index 9f660c8bd..762a6d6a3 100755
--- a/qa/rpc-tests/rawtransactions.py
+++ b/qa/rpc-tests/rawtransactions.py
@@ -56,13 +56,13 @@ class RawTransactionsTest(BitcoinTestFramework):
rawtx = self.nodes[2].createrawtransaction(inputs, outputs)
rawtx = self.nodes[2].signrawtransaction(rawtx)
- errorString = ""
try:
rawtx = self.nodes[2].sendrawtransaction(rawtx['hex'])
except JSONRPCException as e:
- errorString = e.error['message']
+ assert("Missing inputs" in e.error['message'])
+ else:
+ assert(False)
- assert("Missing inputs" in errorString)
#########################
# RAW TX MULTISIG TESTS #