mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-15 21:53:48 -05: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
|
|
@ -31,7 +31,7 @@ class FederationAckTestCase(HomeserverTestCase):
|
|||
return config
|
||||
|
||||
def make_homeserver(self, reactor, clock):
|
||||
hs = self.setup_test_homeserver(homeserverToUse=GenericWorkerServer)
|
||||
hs = self.setup_test_homeserver(homeserver_to_use=GenericWorkerServer)
|
||||
|
||||
return hs
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue