From 1abcecc40c518a98b7d17880657ec0247abdf125 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Tim=C3=B3n?= Date: Thu, 22 Aug 2019 18:17:31 +0200 Subject: Tests: Use self.chain instead of 'regtest' in almost all current tests --- test/functional/interface_rpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/functional/interface_rpc.py') diff --git a/test/functional/interface_rpc.py b/test/functional/interface_rpc.py index e99fa22646..62f5cd2771 100755 --- a/test/functional/interface_rpc.py +++ b/test/functional/interface_rpc.py @@ -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...") -- cgit v1.2.3