diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-01-02 08:57:27 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-03-19 12:26:00 -0400 |
commit | c8330d4216e9f8e31c4e910a6bdf42f09458b2cd (patch) | |
tree | 455c84ebd2b3201985ca5be4de73dd62a4d135d5 /test/functional/feature_pruning.py | |
parent | 93634f296e0b2281b25fdbbd5e608b2f5e662ea3 (diff) |
qa: Use node.datadir instead of tmpdir in test framework
Diffstat (limited to 'test/functional/feature_pruning.py')
-rwxr-xr-x | test/functional/feature_pruning.py | 2 |
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) |