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

Method _add_hba_entry

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

Source from the content-addressed store, hash-verified

2782@unittest.skipIf(os.environ.get('PGHOST'), 'unmanaged cluster')
2783class TestNoSSLConnection(BaseTestSSLConnection):
2784 def _add_hba_entry(self):
2785 self._add_hba_entries('hostnossl', 'trust')
2786
2787 async def test_nossl_handshake_fallback(self):
2788 if self.cluster.get_pg_version() < (12, 0):

Callers

nothing calls this directly

Calls 1

_add_hba_entriesMethod · 0.80

Tested by

no test coverage detected