qa: Use node.datadir instead of tmpdir in test framework

This commit is contained in:
MarcoFalke committed 2018-03-19 12:26:00 -04:00
1 parent 93634f296e
commit c8330d4216
13 files changed
+74 -71

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ class RPCBindTest(BitcoinTestFramework):
self.nodes[0].rpchost = None
self.start_nodes([base_args])
# connect to node through non-loopback interface
node = get_rpc_proxy(rpc_url(get_datadir_path(self.options.tmpdir, 0), 0, "%s:%d" % (rpchost, rpcport)), 0, coveragedir=self.options.coveragedir)
node = get_rpc_proxy(rpc_url(self.nodes[0].datadir, 0, "%s:%d" % (rpchost, rpcport)), 0, coveragedir=self.options.coveragedir)
node.getnetworkinfo()
self.stop_nodes()