mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 19:44:51 -04:00
Remove redundant calls to render()
This commit is contained in:
parent
129ae841e5
commit
be8fa65d0b
13 changed files with 32 additions and 106 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue