MCPcopy Index your code
hub / github.com/davispuh/MySQL-for-Python-3 / _connect

Method _connect

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

Source from the content-addressed store, hash-verified

134 con.close()
135
136 def _connect(self):
137 try:
138 return self.driver.connect(
139 *self.connect_args,**self.connect_kw_args
140 )
141 except AttributeError:
142 self.fail("No connect method found in self.driver module")
143
144 def test_connect(self):
145 con = self._connect()

Callers 15

tearDownMethod · 0.95
test_connectMethod · 0.95
test_commitMethod · 0.95
test_rollbackMethod · 0.95
test_cursorMethod · 0.95
test_cursor_isolationMethod · 0.95
test_descriptionMethod · 0.95
test_rowcountMethod · 0.95
test_callprocMethod · 0.95
test_closeMethod · 0.95
test_executeMethod · 0.95

Calls

no outgoing calls

Tested by 15

test_connectMethod · 0.76
test_commitMethod · 0.76
test_rollbackMethod · 0.76
test_cursorMethod · 0.76
test_cursor_isolationMethod · 0.76
test_descriptionMethod · 0.76
test_rowcountMethod · 0.76
test_callprocMethod · 0.76
test_closeMethod · 0.76
test_executeMethod · 0.76
test_executemanyMethod · 0.76