diff options
| author | MarcoFalke <[email protected]> | 2019-07-31 14:11:32 -0400 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2019-07-31 17:00:25 -0400 |
| commit | fa8a1d7ba30040f8c74f93fc41a61276c255a6a6 (patch) | |
| tree | b5a686fcc62909c549c5a38f86d81678123b2dad /test/functional/interface_bitcoin_cli.py | |
| parent | test: Fix “local variable 'e' is assigned to but never used” (diff) | |
| download | discoin-fa8a1d7ba30040f8c74f93fc41a61276c255a6a6.tar.xz discoin-fa8a1d7ba30040f8c74f93fc41a61276c255a6a6.zip | |
test: Adapt test framework for chains other than "regtest"
Co-Authored-By: Jorge Timón <[email protected]>
Diffstat (limited to 'test/functional/interface_bitcoin_cli.py')
| -rwxr-xr-x | test/functional/interface_bitcoin_cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/interface_bitcoin_cli.py b/test/functional/interface_bitcoin_cli.py index 7bb7044cc..0a378c5ef 100755 --- a/test/functional/interface_bitcoin_cli.py +++ b/test/functional/interface_bitcoin_cli.py @@ -29,7 +29,7 @@ class TestBitcoinCli(BitcoinTestFramework): rpc_response = self.nodes[0].getblockchaininfo() assert_equal(cli_response, rpc_response) - user, password = get_auth_cookie(self.nodes[0].datadir) + user, password = get_auth_cookie(self.nodes[0].datadir, self.chain) self.log.info("Test -stdinrpcpass option") assert_equal(0, self.nodes[0].cli('-rpcuser=%s' % user, '-stdinrpcpass', input=password).getblockcount()) |