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

This commit is contained in:
Jorge Timón
2019-08-22 18:17:31 +02:00
parent be50469217
commit 1abcecc40c
16 changed files with 44 additions and 44 deletions

View File

@ -19,7 +19,7 @@ class FilelockTest(BitcoinTestFramework):
self.nodes[0].wait_for_rpc_connection()
def run_test(self):
datadir = os.path.join(self.nodes[0].datadir, 'regtest')
datadir = os.path.join(self.nodes[0].datadir, self.chain)
self.log.info("Using datadir {}".format(datadir))
self.log.info("Check that we can't start a second bitcoind instance using the same datadir")