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
@@ -30,7 +30,7 @@ class KeypoolRestoreTest(BitcoinTestFramework):
self.skip_if_no_wallet()
def run_test(self):
wallet_path = os.path.join(self.nodes[1].datadir, "regtest", "wallets", "wallet.dat")
wallet_path = os.path.join(self.nodes[1].datadir, self.chain, "wallets", "wallet.dat")
wallet_backup_path = os.path.join(self.nodes[1].datadir, "wallet.bak")
self.nodes[0].generate(101)