aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_pruning.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-01-02 08:57:27 -0500
committerMarcoFalke <falke.marco@gmail.com>2018-03-19 12:26:00 -0400
commitc8330d4216e9f8e31c4e910a6bdf42f09458b2cd (patch)
tree455c84ebd2b3201985ca5be4de73dd62a4d135d5 /test/functional/feature_pruning.py
parent93634f296e0b2281b25fdbbd5e608b2f5e662ea3 (diff)
qa: Use node.datadir instead of tmpdir in test framework
Diffstat (limited to 'test/functional/feature_pruning.py')
-rwxr-xr-xtest/functional/feature_pruning.py2
1 files changed, 1 insertions, 1 deletions
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)