aboutsummaryrefslogtreecommitdiff
path: root/test/functional/rpcbind_test.py
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2017-06-06 11:43:24 -0700
committerAndrew Chow <achow101-github@achow101.com>2017-06-08 17:19:39 -0700
commit3ec5ad88e67bba74c795575d52c97fd2c7e880c1 (patch)
treecee5030718555f704718a126fe0d5f3a24714a4c /test/functional/rpcbind_test.py
parentc53c9831eedaf3b311bb942945268830f9ba3abc (diff)
downloadbitcoin-3ec5ad88e67bba74c795575d52c97fd2c7e880c1.tar.xz
Add test for rpcuser/rpcpassword
Diffstat (limited to 'test/functional/rpcbind_test.py')
-rwxr-xr-xtest/functional/rpcbind_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/rpcbind_test.py b/test/functional/rpcbind_test.py
index 5336cf2ec8..198599010e 100755
--- a/test/functional/rpcbind_test.py
+++ b/test/functional/rpcbind_test.py
@@ -49,7 +49,7 @@ class RPCBindTest(BitcoinTestFramework):
base_args = ['-disablewallet', '-nolisten'] + ['-rpcallowip='+x for x in allow_ips]
self.nodes = self.start_nodes(self.num_nodes, self.options.tmpdir, [base_args])
# connect to node through non-loopback interface
- node = get_rpc_proxy(rpc_url(0, "%s:%d" % (rpchost, rpcport)), 0)
+ node = get_rpc_proxy(rpc_url(get_datadir_path(self.options.tmpdir, 0), 0, "%s:%d" % (rpchost, rpcport)), 0)
node.getnetworkinfo()
self.stop_nodes()