diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-06-14 13:00:11 +0200 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-06-21 08:49:18 +0200 |
commit | aaaa3aefbdfca1c9243057eeefdc19940e60bf18 (patch) | |
tree | 0487012bb53a2f37cea400f843bd94255c676457 /test/functional/feature_asmap.py | |
parent | dddd89962b26b5593860d016586ee8feb5aeea24 (diff) | |
download | bitcoin-aaaa3aefbdfca1c9243057eeefdc19940e60bf18.tar.xz |
test: Use TestNode *_path properties where possible
Seems odd to place the burden on test writers to hardcode the chain or
datadir path for the nodes under test.
Diffstat (limited to 'test/functional/feature_asmap.py')
-rwxr-xr-x | test/functional/feature_asmap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/feature_asmap.py b/test/functional/feature_asmap.py index 9440ba11f5..9cff8042a8 100755 --- a/test/functional/feature_asmap.py +++ b/test/functional/feature_asmap.py @@ -113,7 +113,7 @@ class AsmapTest(BitcoinTestFramework): def run_test(self): self.node = self.nodes[0] - self.datadir = os.path.join(self.node.datadir, self.chain) + self.datadir = self.node.chain_path self.default_asmap = os.path.join(self.datadir, DEFAULT_ASMAP_FILENAME) self.asmap_raw = os.path.join(os.path.dirname(os.path.realpath(__file__)), ASMAP) |