MCPcopy
hub / github.com/psycopg/psycopg / test_connect

Method test_connect

tests/dbapi20.py:155–157  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

153 self.fail("No connect method found in self.driver module")
154
155 def test_connect(self):
156 con = self._connect()
157 con.close()
158
159 def test_apilevel(self):
160 try:

Callers

nothing calls this directly

Calls 2

_connectMethod · 0.95
closeMethod · 0.45

Tested by

no test coverage detected