From 23753025344d11cafa6c1ced577381634a277fc3 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 20 Jun 2018 16:48:01 +0930 Subject: [PATCH] pytest: move regtest argument into config file. It's not optional for our test setup, and this makes it easier to invoke bitcoin-cli manually, for example. Signed-off-by: Rusty Russell --- tests/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils.py b/tests/utils.py index 8ff212f24..ac4fbfacd 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -12,6 +12,7 @@ from ephemeral_port_reserve import reserve BITCOIND_CONFIG = { + "regtest": 1, "rpcuser": "rpcuser", "rpcpassword": "rpcpass", "rpcport": 18332, @@ -236,7 +237,6 @@ class BitcoinD(TailableProc): '-datadir={}'.format(bitcoin_dir), '-printtoconsole', '-server', - '-regtest', '-logtimestamps', '-nolisten', ]