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`.
Showing
- changelog.d/8515.misc 1 addition, 0 deletionschangelog.d/8515.misc
- synapse/server.py 9 additions, 5 deletionssynapse/server.py
- tests/app/test_frontend_proxy.py 1 addition, 1 deletiontests/app/test_frontend_proxy.py
- tests/app/test_openid_listener.py 2 additions, 2 deletionstests/app/test_openid_listener.py
- tests/replication/_base.py 2 additions, 2 deletionstests/replication/_base.py
- tests/replication/test_federation_ack.py 1 addition, 1 deletiontests/replication/test_federation_ack.py
- tests/utils.py 17 additions, 14 deletionstests/utils.py
Loading
Please register or sign in to comment