Pass config

This commit is contained in:
Andrew Morgan 2019-04-02 13:35:53 +01:00
parent 3e29d458f2
commit f38da61ae7

View file

@ -59,6 +59,7 @@ class MatrixFederationAgentTests(TestCase):
self.agent = MatrixFederationAgent(
reactor=self.reactor,
tls_client_options_factory=ClientTLSOptionsFactory(config),
config=config,
_well_known_tls_policy=TrustingTLSPolicyForHTTPS(),
_srv_resolver=self.mock_resolver,
_well_known_cache=self.well_known_cache,