MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / connect

Method connect

test/engine/test_reconnect.py:937–942  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

935 )
936
937 def connect():
938 while True:
939 yield Mock(
940 spec=["cursor", "commit", "rollback", "close"],
941 cursor=Mock(side_effect=cursor()),
942 )
943
944 return Mock(
945 Error=DBAPIError,

Calls 1

cursorFunction · 0.70

Tested by

no test coverage detected