Did I find the right examples for you? yes no

All Samples(7)  |  Call(0)  |  Derive(0)  |  Import(7)
Twisted Test: Unit Tests for Twisted.

src/o/h/oh-mainline-HEAD/vendor/packages/twisted/twisted/web/test/test_webclient.py   oh-mainline(Download)
    def _listen(self, site):
        from twisted import test
        return reactor.listenSSL(0, site,
                                 contextFactory=ssl.DefaultOpenSSLContextFactory(
            FilePath(test.__file__).sibling('server.pem').path,
        tlsSite = server.Site(tlsRoot, timeout=None)
 
        from twisted import test
        self.tlsPort = reactor.listenSSL(0, tlsSite,
                                         contextFactory=ssl.DefaultOpenSSLContextFactory(

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/Twisted/twisted/web/test/test_webclient.py   hortonworks-sandbox(Download)
    def _listen(self, site):
        from twisted import test
        return reactor.listenSSL(0, site,
                                 contextFactory=ssl.DefaultOpenSSLContextFactory(
            FilePath(test.__file__).sibling('server.pem').path,
        tlsSite = server.Site(tlsRoot, timeout=None)
 
        from twisted import test
        self.tlsPort = reactor.listenSSL(0, tlsSite,
                                         contextFactory=ssl.DefaultOpenSSLContextFactory(

src/t/w/Twisted-13.2.0/twisted/web/test/test_webclient.py   Twisted(Download)
    ssl = None
 
from twisted import test
serverPEM = FilePath(test.__file__.encode("utf-8")).sibling(b'server.pem')
serverPEMPath = nativeString(serverPEM.path)

src/z/o/zope.app.twisted-3.5.0/src/twisted/web/test/test_webclient.py   zope.app.twisted(Download)
    def _listen(self, site):
        from twisted import test
        return reactor.listenSSL(0, site,
                                 contextFactory=ssl.DefaultOpenSSLContextFactory(
            sibpath(test.__file__, 'server.pem'),
        tlsSite = server.Site(tlsRoot, timeout=None)
 
        from twisted import test
        self.tlsPort = reactor.listenSSL(0, tlsSite,
                                         contextFactory=ssl.DefaultOpenSSLContextFactory(