summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-02-27 13:08:43 +0000
committerGitHub <noreply@github.com>2020-02-27 13:08:43 +0000
commitcab4a52535097c5836fe67c5e09e8350d7ccf03c (patch)
treeedccf442ae0e779f17a85c567dbbb2d5630a4caa /tests
parentExpose common commands via snap run interface to allow easier invocation (#6315) (diff)
downloadsynapse-cab4a52535097c5836fe67c5e09e8350d7ccf03c.tar.xz
set worker_app for frontend proxy test (#7003)
to stop the federationhandler trying to do master stuff
Diffstat (limited to 'tests')
-rw-r--r--tests/app/test_frontend_proxy.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/app/test_frontend_proxy.py b/tests/app/test_frontend_proxy.py
index 160e55aca9..d3feafa1b7 100644
--- a/tests/app/test_frontend_proxy.py
+++ b/tests/app/test_frontend_proxy.py
@@ -27,6 +27,11 @@ class FrontendProxyTests(HomeserverTestCase):
 
         return hs
 
+    def default_config(self, name="test"):
+        c = super().default_config(name)
+        c["worker_app"] = "synapse.app.frontend_proxy"
+        return c
+
     def test_listen_http_with_presence_enabled(self):
         """
         When presence is on, the stub servlet will not register.