diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2020-06-16 12:44:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-16 12:44:07 +0100 |
commit | 03619324fc18632a2907ace4d3e73f3c4dd0b05e (patch) | |
tree | f3873d5b6b6007d2ae1d6462fef4efbe7caee816 /tests/utils.py | |
parent | Merge branch 'master' into develop (diff) | |
download | synapse-03619324fc18632a2907ace4d3e73f3c4dd0b05e.tar.xz |
Create a ListenerConfig object (#7681)
This ended up being a bit more invasive than I'd hoped for (not helped by generic_worker duplicating some of the code from homeserver), but hopefully it's an improvement. The idea is that, rather than storing unstructured `dict`s in the config for the listener configurations, we instead parse it into a structured `ListenerConfig` object.
Diffstat (limited to '')
-rw-r--r-- | tests/utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/utils.py b/tests/utils.py index 59c020a051..7ba8a31ff3 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -168,6 +168,7 @@ def default_config(name, parse=False): # background, which upsets the test runner. "update_user_directory": False, "caches": {"global_factor": 1}, + "listeners": [{"port": 0, "type": "http"}], } if parse: |