summary refs log tree commit diff
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
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
-rw-r--r--changelog.d/7003.misc1
-rw-r--r--tests/app/test_frontend_proxy.py5
2 files changed, 6 insertions, 0 deletions
diff --git a/changelog.d/7003.misc b/changelog.d/7003.misc
new file mode 100644
index 0000000000..08aa80bcd9
--- /dev/null
+++ b/changelog.d/7003.misc
@@ -0,0 +1 @@
+Refactoring work in preparation for changing the event redaction algorithm.
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.