From c8330d4216e9f8e31c4e910a6bdf42f09458b2cd Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Tue, 2 Jan 2018 08:57:27 -0500 Subject: qa: Use node.datadir instead of tmpdir in test framework --- test/functional/feature_pruning.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/functional/feature_pruning.py') diff --git a/test/functional/feature_pruning.py b/test/functional/feature_pruning.py index 8dfa1be2fa..7eaa231012 100755 --- a/test/functional/feature_pruning.py +++ b/test/functional/feature_pruning.py @@ -44,7 +44,7 @@ class PruneTest(BitcoinTestFramework): def setup_network(self): self.setup_nodes() - self.prunedir = self.options.tmpdir + "/node2/regtest/blocks/" + self.prunedir = os.path.join(self.nodes[2].datadir, 'regtest', 'blocks', '') connect_nodes(self.nodes[0], 1) connect_nodes(self.nodes[1], 2) -- cgit v1.2.3