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-
This commit is contained in:
parent
677d893ff7
commit
47ba8cf71e
35 changed files with 117 additions and 117 deletions
test/functional
|
@ -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": "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue