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
@@ -32,7 +32,7 @@ class RPCInterfaceTest(BitcoinTestFramework):
command = info['active_commands'][0]
assert_equal(command['method'], 'getrpcinfo')
assert_greater_than_or_equal(command['duration'], 0)
assert_equal(info['logpath'], os.path.join(self.nodes[0].datadir, 'regtest', 'debug.log'))
assert_equal(info['logpath'], os.path.join(self.nodes[0].datadir, self.chain, 'debug.log'))
def test_batch_request(self):
self.log.info("Testing basic JSON-RPC batch request...")