aboutsummaryrefslogtreecommitdiff
path: root/test/functional/importmulti.py
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-07-12 10:33:46 -0400
committerJohn Newbery <john@johnnewbery.com>2017-10-05 09:57:19 -0400
commit47ba8cf71e9a3a6f7452488fc9ab3b350f0fae36 (patch)
treeb21f00f81ce5e933436f9418ae73f8e37f81fcd1 /test/functional/importmulti.py
parent677d893ff758b61f66203730da224bd7ef8f0b43 (diff)
downloadbitcoin-47ba8cf71e9a3a6f7452488fc9ab3b350f0fae36.tar.xz
scripted-diff: rename assert_raises_jsonrpc to assert_raises_rpc error
-BEGIN VERIFY SCRIPT- sed -i 's/assert_raises_jsonrpc/assert_raises_rpc_error/g' test/functional/*py test/functional/test_framework/*py -END VERIFY SCRIPT-
Diffstat (limited to 'test/functional/importmulti.py')
-rwxr-xr-xtest/functional/importmulti.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/importmulti.py b/test/functional/importmulti.py
index fcc38123a9..c1a42870ec 100755
--- a/test/functional/importmulti.py
+++ b/test/functional/importmulti.py
@@ -423,11 +423,11 @@ class ImportMultiTest (BitcoinTestFramework):
# Bad or missing timestamps
self.log.info("Should throw on invalid or missing timestamp values")
- assert_raises_jsonrpc(-3, 'Missing required timestamp field for key',
+ assert_raises_rpc_error(-3, 'Missing required timestamp field for key',
self.nodes[1].importmulti, [{
"scriptPubKey": address['scriptPubKey'],
}])
- assert_raises_jsonrpc(-3, 'Expected number or "now" timestamp value for key. got type string',
+ assert_raises_rpc_error(-3, 'Expected number or "now" timestamp value for key. got type string',
self.nodes[1].importmulti, [{
"scriptPubKey": address['scriptPubKey'],
"timestamp": "",