def test_setsTrustRootOnContextToDefaultTrustRoot(self):
        """
        The L{CertificateOptions} has C{trustRoot} set to the default trust
        roots.
        """
        ctx = self.webClientContextFactory()
        certificateOptions = ctx._getCertificateOptions('example.com', 443)
        self.assertIsInstance(
            certificateOptions.trustRoot, ssl.OpenSSLDefaultPaths)

        The L{CertificateOptions} has C{trustRoot} set to the default trust
        roots.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/test/test_agent.py