(self)
| 2062 | """Tests that connect to a simple server running in the background""" |
| 2063 | |
| 2064 | def setUp(self): |
| 2065 | self.server_context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER) |
| 2066 | self.server_context.load_cert_chain(SIGNED_CERTFILE) |
| 2067 | server = ThreadedEchoServer(context=self.server_context) |
| 2068 | self.enterContext(server) |
| 2069 | self.server_addr = (HOST, server.port) |
| 2070 | |
| 2071 | def test_connect(self): |
| 2072 | with test_wrap_socket(socket.socket(socket.AF_INET), |
nothing calls this directly
no test coverage detected