MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / test_ssl_connection_pool

Method test_ssl_connection_pool

tests/test_connect.py:2625–2631  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2623 self.loop.set_exception_handler(old_handler)
2624
2625 async def test_ssl_connection_pool(self):
2626 ssl_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
2627 ssl_context.load_verify_locations(SSL_CA_CERT_FILE)
2628
2629 await self._test_pool(
2630 host='localhost', user='ssl_user', database='postgres',
2631 ssl=ssl_context, expected_ssl=True)
2632
2633 async def test_executemany_uvloop_ssl_issue_700(self):
2634 ssl_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)

Callers

nothing calls this directly

Calls 1

_test_poolMethod · 0.80

Tested by

no test coverage detected