mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-30 14:26:33 -05:00
Move ClientTLSOptionsFactory init out of refresh_certificates (#4611)
It's nothing to do with refreshing the certificates. No idea why it was here.
This commit is contained in:
parent
719e073f00
commit
5d27730a73
5 changed files with 9 additions and 9 deletions
|
|
@ -43,13 +43,11 @@ def check_logcontext(context):
|
|||
|
||||
class FederationClientTests(HomeserverTestCase):
|
||||
def make_homeserver(self, reactor, clock):
|
||||
|
||||
hs = self.setup_test_homeserver(reactor=reactor, clock=clock)
|
||||
hs.tls_client_options_factory = None
|
||||
return hs
|
||||
|
||||
def prepare(self, reactor, clock, homeserver):
|
||||
self.cl = MatrixFederationHttpClient(self.hs)
|
||||
self.cl = MatrixFederationHttpClient(self.hs, None)
|
||||
self.reactor.lookups["testserv"] = "1.2.3.4"
|
||||
|
||||
def test_client_get(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue