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

Method _add_hba_entry

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

Source from the content-addressed store, hash-verified

2199@unittest.skipIf(os.environ.get('PGHOST'), 'unmanaged cluster')
2200class TestSSLConnection(BaseTestSSLConnection):
2201 def _add_hba_entry(self):
2202 self._add_hba_entries('hostssl', 'trust')
2203
2204 def _allow_plaintext(self):
2205 self._add_hba_entries('hostnossl', 'trust',

Callers

nothing calls this directly

Calls 1

_add_hba_entriesMethod · 0.80

Tested by

no test coverage detected