test: replace 'regtest' leftovers by self.chain

Commit 1abcecc40c replaced 'regtest' by self.chain
'regtest' "in almost all current tests", this commit takes care of the remaining
ones.
This commit is contained in:
Sebastian Falbesoner committed 2020-02-05 04:28:40 +01:00
1 parent 8625446b4d
commit eca56f8929
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ class DumptxoutsetTest(BitcoinTestFramework):
FILENAME = 'txoutset.dat'
out = node.dumptxoutset(FILENAME)
expected_path = Path(node.datadir) / 'regtest' / FILENAME
expected_path = Path(node.datadir) / self.chain / FILENAME
assert expected_path.is_file()