Skip to content

Commit 2375302

Browse files
rustyrussellcdecker
authored andcommitted
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 <[email protected]>
1 parent c78afa9 commit 2375302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313

1414
BITCOIND_CONFIG = {
15+
"regtest": 1,
1516
"rpcuser": "rpcuser",
1617
"rpcpassword": "rpcpass",
1718
"rpcport": 18332,
@@ -236,7 +237,6 @@ def __init__(self, bitcoin_dir="/tmp/bitcoind-test", rpcport=None):
236237
'-datadir={}'.format(bitcoin_dir),
237238
'-printtoconsole',
238239
'-server',
239-
'-regtest',
240240
'-logtimestamps',
241241
'-nolisten',
242242
]

0 commit comments

Comments
 (0)