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

@ -16,7 +16,7 @@ class LoggingTest(BitcoinTestFramework):
self.setup_clean_chain = True
def relative_log_path(self, name):
return os.path.join(self.nodes[0].datadir, "regtest", name)
return os.path.join(self.nodes[0].datadir, self.chain, name)
def run_test(self):
# test default log file name