aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_config_args.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_config_args.py
parent93634f296e0b2281b25fdbbd5e608b2f5e662ea3 (diff)
qa: Use node.datadir instead of tmpdir in test framework
Diffstat (limited to 'test/functional/feature_config_args.py')
-rwxr-xr-xtest/functional/feature_config_args.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/feature_config_args.py b/test/functional/feature_config_args.py
index c6cec0596b..e9b76a53e3 100755
--- a/test/functional/feature_config_args.py
+++ b/test/functional/feature_config_args.py
@@ -7,7 +7,7 @@
import os
from test_framework.test_framework import BitcoinTestFramework
-from test_framework.util import get_datadir_path
+
class ConfArgsTest(BitcoinTestFramework):
def set_test_params(self):
@@ -19,7 +19,7 @@ class ConfArgsTest(BitcoinTestFramework):
# Remove the -datadir argument so it doesn't override the config file
self.nodes[0].args = [arg for arg in self.nodes[0].args if not arg.startswith("-datadir")]
- default_data_dir = get_datadir_path(self.options.tmpdir, 0)
+ default_data_dir = self.nodes[0].datadir
new_data_dir = os.path.join(default_data_dir, 'newdatadir')
new_data_dir_2 = os.path.join(default_data_dir, 'newdatadir2')