Home
last modified time | relevance | path

Searched refs:MockDisconnect (Results 1 – 5 of 5) sorted by relevance

/dports/databases/py-sqlalchemy12/SQLAlchemy-1.2.19/test/engine/
H A Dtest_reconnect.py36 class MockDisconnect(MockError): class
48 raise MockDisconnect("Lost the DB connection on execute")
93 raise MockDisconnect("Lost the DB connection on rollback")
115 raise MockDisconnect("database is stopped")
162 e, MockDisconnect
184 assert_raises(MockDisconnect, stale_cursor.execute, "hi")
195 MockDisconnect, "database is stopped", pool.connect
210 MockDisconnect,
229 MockDisconnect,
278 e, MockDisconnect
/dports/databases/py-sqlalchemy13/SQLAlchemy-1.3.24/test/engine/
H A Dtest_reconnect.py39 class MockDisconnect(MockError): class
51 raise MockDisconnect("Lost the DB connection on execute")
96 raise MockDisconnect("Lost the DB connection on rollback")
118 raise MockDisconnect("database is stopped")
165 e, MockDisconnect
187 assert_raises(MockDisconnect, stale_cursor.execute, "hi")
198 MockDisconnect, "database is stopped", pool.connect
213 MockDisconnect,
232 MockDisconnect,
281 e, MockDisconnect
/dports/databases/py-sqlalchemy14/SQLAlchemy-1.4.27/test/engine/
H A Dtest_reconnect.py41 class MockDisconnect(MockError): class
53 raise MockDisconnect("Lost the DB connection on execute")
98 raise MockDisconnect("Lost the DB connection on rollback")
109 raise MockDisconnect("Lost the DB connection on commit")
133 raise MockDisconnect("database is stopped")
181 e, MockDisconnect
263 assert_raises(MockDisconnect, stale_cursor.execute, "hi")
274 MockDisconnect, "database is stopped", pool.connect
289 MockDisconnect,
308 MockDisconnect,
[all …]
/dports/databases/py-sqlalchemy10/SQLAlchemy-1.0.14/test/engine/
H A Dtest_reconnect.py19 class MockDisconnect(MockError): class
27 raise MockDisconnect("Lost the DB connection on execute")
55 raise MockDisconnect("Lost the DB connection on rollback")
108 lambda e, conn, cursor: isinstance(e, MockDisconnect)
/dports/databases/py-sqlalchemy11/SQLAlchemy-1.1.18/test/engine/
H A Dtest_reconnect.py22 class MockDisconnect(MockError): class
34 raise MockDisconnect("Lost the DB connection on execute")
70 raise MockDisconnect("Lost the DB connection on rollback")
123 lambda e, conn, cursor: isinstance(e, MockDisconnect)