mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
Dashify a few strings in tests
This commit is contained in:
parent
b93785d8dc
commit
f76d53d730
@ -2,7 +2,7 @@
|
|||||||
# Copyright (c) 2017 The Bitcoin Core developers
|
# Copyright (c) 2017 The Bitcoin Core developers
|
||||||
# Distributed under the MIT software license, see the accompanying
|
# Distributed under the MIT software license, see the accompanying
|
||||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
"""Test bitcoin-cli"""
|
"""Test dash-cli"""
|
||||||
from test_framework.test_framework import BitcoinTestFramework
|
from test_framework.test_framework import BitcoinTestFramework
|
||||||
from test_framework.util import assert_equal
|
from test_framework.util import assert_equal
|
||||||
|
|
||||||
@ -15,13 +15,13 @@ class TestBitcoinCli(BitcoinTestFramework):
|
|||||||
def run_test(self):
|
def run_test(self):
|
||||||
"""Main test logic"""
|
"""Main test logic"""
|
||||||
|
|
||||||
self.log.info("Compare responses from gewalletinfo RPC and `bitcoin-cli getwalletinfo`")
|
self.log.info("Compare responses from gewalletinfo RPC and `dash-cli getwalletinfo`")
|
||||||
cli_get_info = self.nodes[0].cli.getwalletinfo()
|
cli_get_info = self.nodes[0].cli.getwalletinfo()
|
||||||
rpc_get_info = self.nodes[0].getwalletinfo()
|
rpc_get_info = self.nodes[0].getwalletinfo()
|
||||||
|
|
||||||
assert_equal(cli_get_info, rpc_get_info)
|
assert_equal(cli_get_info, rpc_get_info)
|
||||||
|
|
||||||
self.log.info("Compare responses from getblockchaininfo RPC and `bitcoin-cli getblockchaininfo`")
|
self.log.info("Compare responses from getblockchaininfo RPC and `dash-cli getblockchaininfo`")
|
||||||
cli_get_info = self.nodes[0].cli.getblockchaininfo()
|
cli_get_info = self.nodes[0].cli.getblockchaininfo()
|
||||||
rpc_get_info = self.nodes[0].getblockchaininfo()
|
rpc_get_info = self.nodes[0].getblockchaininfo()
|
||||||
|
|
||||||
|
@ -246,7 +246,7 @@ class BitcoinTestFramework(object):
|
|||||||
self.nodes.append(TestNode(old_num_nodes + i, self.options.tmpdir, extra_args[i], rpchost, timewait=timewait, binary=binary[i], stderr=stderr, mocktime=self.mocktime, coverage_dir=self.options.coveragedir))
|
self.nodes.append(TestNode(old_num_nodes + i, self.options.tmpdir, extra_args[i], rpchost, timewait=timewait, binary=binary[i], stderr=stderr, mocktime=self.mocktime, coverage_dir=self.options.coveragedir))
|
||||||
|
|
||||||
def start_node(self, i, extra_args=None, stderr=None):
|
def start_node(self, i, extra_args=None, stderr=None):
|
||||||
"""Start a bitcoind"""
|
"""Start a dashd"""
|
||||||
|
|
||||||
node = self.nodes[i]
|
node = self.nodes[i]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user