MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / connect

Method connect

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

Source from the content-addressed store, hash-verified

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

Calls 1

cursorFunction · 0.70

Tested by

no test coverage detected