test: Avoid connecting to real network when running tests

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

No files matched your search

+1
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")