Ejemplo n.º 1
0
    def test_open_unix_connection_no_loop_ssl(self):
        with test_utils.run_test_unix_server(use_ssl=True) as httpd:
            conn_fut = asyncio.open_unix_connection(
                httpd.address,
                ssl=test_utils.dummy_ssl_context(),
                server_hostname='',
                loop=self.loop)

            self._basetest_open_connection_no_loop_ssl(conn_fut)
Ejemplo n.º 2
0
    def test_open_unix_connection_no_loop_ssl(self):
        with test_utils.run_test_unix_server(use_ssl=True) as httpd:
            conn_fut = asyncio.open_unix_connection(
                httpd.address,
                ssl=test_utils.dummy_ssl_context(),
                server_hostname='',
                loop=self.loop)

            self._basetest_open_connection_no_loop_ssl(conn_fut)
Ejemplo n.º 3
0
 def test_open_unix_connection(self):
     with test_utils.run_test_unix_server() as httpd:
         conn_fut = asyncio.open_unix_connection(httpd.address,
                                                 loop=self.loop)
         self._basetest_open_connection(conn_fut)
Ejemplo n.º 4
0
 def test_open_unix_connection(self):
     with test_utils.run_test_unix_server() as httpd:
         conn_fut = asyncio.open_unix_connection(httpd.address,
                                                 loop=self.loop)
         self._basetest_open_connection(conn_fut)