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

Method test_auth_trust

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

Source from the content-addressed store, hash-verified

248 await self._try_connect(user='__nonexistent__')
249
250 async def test_auth_trust(self):
251 conn = await self.connect(user='trust_user')
252 await conn.close()
253
254 async def test_auth_reject(self):
255 with self.assertRaisesRegex(

Callers

nothing calls this directly

Calls 2

connectMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected