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/unittest.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 'tests/unittest.py')
-rw-r--r-- | tests/unittest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittest.py b/tests/unittest.py index 6b6f224e9c..3175a3fa02 100644 --- a/tests/unittest.py +++ b/tests/unittest.py @@ -229,7 +229,7 @@ class HomeserverTestCase(TestCase): self.site = SynapseSite( logger_name="synapse.access.http.fake", site_tag="test", - config={}, + config=self.hs.config.server.listeners[0], resource=self.resource, server_version_string="1", ) |