Tests: Use self.chain instead of 'regtest' in almost all current tests

This commit is contained in:
Jorge Timón committed 2019-10-26 13:24:39 +02:00
1 parent be50469217
commit 1abcecc40c
16 files changed
+44 -44

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@ class ScantxoutsetTest(BitcoinTestFramework):
self.log.info("Stop node, remove wallet, mine again some blocks...")
self.stop_node(0)
shutil.rmtree(os.path.join(self.nodes[0].datadir, "regtest", 'wallets'))
shutil.rmtree(os.path.join(self.nodes[0].datadir, self.chain, 'wallets'))
self.start_node(0)
self.nodes[0].generate(110)