(self, connection_type, auth_method, *,
addresses=('127.0.0.0/24', '::1/128'))
| 2082 | raise NotImplementedError() |
| 2083 | |
| 2084 | def _add_hba_entries(self, connection_type, auth_method, *, |
| 2085 | addresses=('127.0.0.0/24', '::1/128')): |
| 2086 | for address in addresses: |
| 2087 | self.cluster.add_hba_entry( |
| 2088 | type=connection_type, address=ipaddress.ip_network(address), |
| 2089 | database='postgres', user='ssl_user', auth_method=auth_method) |
| 2090 | |
| 2091 | async def _test_works(self, *, expected_ssl=None, **conn_args): |
| 2092 | con = await self.connect(**conn_args) |
no test coverage detected