mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-25 06:05:21 -04:00
Solidify the HomeServer constructor. (#8515)
This implements a more standard API for instantiating a homeserver and moves some of the dependency injection into the test suite. More concretely this stops using `setattr` on all `kwargs` passed to `HomeServer`.
This commit is contained in:
parent
c276bd9969
commit
6b5a115c0a
7 changed files with 33 additions and 25 deletions
|
@ -22,7 +22,7 @@ class FrontendProxyTests(HomeserverTestCase):
|
|||
def make_homeserver(self, reactor, clock):
|
||||
|
||||
hs = self.setup_test_homeserver(
|
||||
http_client=None, homeserverToUse=GenericWorkerServer
|
||||
http_client=None, homeserver_to_use=GenericWorkerServer
|
||||
)
|
||||
|
||||
return hs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue