mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-29 18:20:58 +02:00
Tests: Use self.chain instead of 'regtest' in almost all current tests
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user