(self)
| 1845 | """Tests that connect to a simple server running in the background""" |
| 1846 | |
| 1847 | def setUp(self): |
| 1848 | self.server_context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER) |
| 1849 | self.server_context.load_cert_chain(SIGNED_CERTFILE) |
| 1850 | server = ThreadedEchoServer(context=self.server_context) |
| 1851 | self.enterContext(server) |
| 1852 | self.server_addr = (HOST, server.port) |
| 1853 | |
| 1854 | def test_connect(self): |
| 1855 | with test_wrap_socket(socket.socket(socket.AF_INET), |
nothing calls this directly
no test coverage detected