aboutsummaryrefslogtreecommitdiff
path: root/test/functional/rpcnamedargs.py
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2017-07-16 19:29:08 -0400
committerMatt Corallo <git@bluematt.me>2017-09-06 16:10:04 -0700
commitaece8a4637f0d097e4be497bc82d59b37244d245 (patch)
tree11567fae24b604ce4eb35f0704d51c7081e231ff /test/functional/rpcnamedargs.py
parent961901f77e55aa07d5048000d57bcd218ae74b08 (diff)
downloadbitcoin-aece8a4637f0d097e4be497bc82d59b37244d245.tar.xz
(finally) remove getinfo in favor of more module-specific infos
Diffstat (limited to 'test/functional/rpcnamedargs.py')
-rwxr-xr-xtest/functional/rpcnamedargs.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/rpcnamedargs.py b/test/functional/rpcnamedargs.py
index da61cc66e6..b3cc681dad 100755
--- a/test/functional/rpcnamedargs.py
+++ b/test/functional/rpcnamedargs.py
@@ -16,10 +16,10 @@ class NamedArgumentTest(BitcoinTestFramework):
def run_test(self):
node = self.nodes[0]
- h = node.help(command='getinfo')
- assert(h.startswith('getinfo\n'))
+ h = node.help(command='getblockchaininfo')
+ assert(h.startswith('getblockchaininfo\n'))
- assert_raises_jsonrpc(-8, 'Unknown named parameter', node.help, random='getinfo')
+ assert_raises_jsonrpc(-8, 'Unknown named parameter', node.help, random='getblockchaininfo')
h = node.getblockhash(height=0)
node.getblock(blockhash=h)