diff options
author | Matt Corallo <git@bluematt.me> | 2017-07-16 19:29:08 -0400 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2017-09-06 16:10:04 -0700 |
commit | aece8a4637f0d097e4be497bc82d59b37244d245 (patch) | |
tree | 11567fae24b604ce4eb35f0704d51c7081e231ff /test/functional/rpcnamedargs.py | |
parent | 961901f77e55aa07d5048000d57bcd218ae74b08 (diff) | |
download | bitcoin-aece8a4637f0d097e4be497bc82d59b37244d245.tar.xz |
(finally) remove getinfo in favor of more module-specific infos
Diffstat (limited to 'test/functional/rpcnamedargs.py')
-rwxr-xr-x | test/functional/rpcnamedargs.py | 6 |
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) |