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

Method _add_hba_entry

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

Source from the content-addressed store, hash-verified

2705@unittest.skipIf(os.environ.get('PGHOST'), 'unmanaged cluster')
2706class TestClientSSLConnection(BaseTestSSLConnection):
2707 def _add_hba_entry(self):
2708 self._add_hba_entries('hostssl', 'cert')
2709
2710 async def test_ssl_connection_client_auth_fails_with_wrong_setup(self):
2711 ssl_context = ssl.create_default_context(

Callers

nothing calls this directly

Calls 1

_add_hba_entriesMethod · 0.80

Tested by

no test coverage detected