test: Avoid connecting to real network when running tests

Can be reviewed with --word-diff-regex=.
This commit is contained in:
MarcoFalke
2021-02-21 10:53:58 +01:00
parent fa1b713941
commit fa730e9157
2 changed files with 20 additions and 10 deletions

View File

@@ -368,6 +368,7 @@ def write_config(config_path, *, n, chain, extra_config=""):
f.write("keypool=1\n")
f.write("discover=0\n")
f.write("dnsseed=0\n")
f.write("fixedseeds=0\n")
f.write("listenonion=0\n")
f.write("printtoconsole=0\n")
f.write("upnp=0\n")