summary refs log tree commit diff
path: root/tests/patch_inline_callbacks.py
diff options
context:
space:
mode:
authorJason Robinson <jasonr@matrix.org>2019-01-17 15:58:27 +0200
committerJason Robinson <jasonr@matrix.org>2019-01-23 10:32:41 +0200
commit4f8f41c824dc326903863625ce79e5386ad0f8e1 (patch)
treed50d0dc49468307086ba396beccd5f2403df6ae4 /tests/patch_inline_callbacks.py
parentAdd parameterized Python module to test dependencies (diff)
downloadsynapse-4f8f41c824dc326903863625ce79e5386ad0f8e1.tar.xz
Make FederationReaderServer _http_listen use self.get_reactor()
For all the homeserver classes, only the FrontendProxyServer passes
its reactor when doing the http listen. Looking at previous PR's looks
like this was introduced to make it possible to write a test, otherwise
when you try to run a test with the test homeserver it tries to
do a real bind to a port. Passing the reactor that the homeserver
is instantiated with should probably be the right thing to do anyway?

Signed-off-by: Jason Robinson <jasonr@matrix.org>
Diffstat (limited to 'tests/patch_inline_callbacks.py')
0 files changed, 0 insertions, 0 deletions