MCPcopy
hub / github.com/MagicStack/asyncpg / test_auth_trust

Method test_auth_trust

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

Source from the content-addressed store, hash-verified

244 await self._try_connect(user='__nonexistent__')
245
246 async def test_auth_trust(self):
247 conn = await self.connect(user='trust_user')
248 await conn.close()
249
250 async def test_auth_reject(self):
251 with self.assertRaisesRegex(

Callers

nothing calls this directly

Calls 2

connectMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected