diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2020-11-17 15:17:04 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-17 15:17:04 +0000 |
commit | deff8f628db0496334b4d097c416976b4d96492d (patch) | |
tree | 53aaecac1e8dfea5088d12f5f45c74e7c31ac821 /tests/replication/_base.py | |
parent | Abstract shared SSO code. (#8765) (diff) | |
parent | changelog (diff) | |
download | synapse-deff8f628db0496334b4d097c416976b4d96492d.tar.xz |
Merge pull request #8761 from matrix-org/rav/test_request_rendering
Make `make_request` actually render the request
Diffstat (limited to 'tests/replication/_base.py')
-rw-r--r-- | tests/replication/_base.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/replication/_base.py b/tests/replication/_base.py index bc56b13dcd..516db4c30a 100644 --- a/tests/replication/_base.py +++ b/tests/replication/_base.py @@ -36,7 +36,7 @@ from synapse.server import HomeServer from synapse.util import Clock from tests import unittest -from tests.server import FakeTransport, render +from tests.server import FakeTransport try: import hiredis @@ -347,9 +347,6 @@ class BaseMultiWorkerStreamTestCase(unittest.HomeserverTestCase): config["worker_replication_http_port"] = "8765" return config - def render_on_worker(self, worker_hs: HomeServer, request: SynapseRequest): - render(request, self._hs_to_site[worker_hs].resource, self.reactor) - def replicate(self): """Tell the master side of replication that something has happened, and then wait for the replication to occur. |