Undocumented
Variable | testing_reaper |
Undocumented |
Class | ConnectionKiller |
Undocumented |
Class | DBAPIProxyConnection |
Proxy a DBAPI connection. |
Class | DBAPIProxyCursor |
Proxy a DBAPI cursor. |
Class | ReconnectFixture |
Undocumented |
Function | all_dialects |
Undocumented |
Function | assert_conns_closed |
Undocumented |
Function | close_first |
Decorator that closes all connections before fn execution. |
Function | close_open_connections |
Decorator that closes all connections after fn execution. |
Function | mock_engine |
Provides a mocking engine based on the current testing.db. |
Function | proxying_engine |
Produce an engine that provides proxy hooks for common methods. |
Function | reconnecting_engine |
Undocumented |
Function | rollback_open_connections |
Decorator that rolls back all open connections after fn execution. |
Function | testing_engine |
Produce an engine configured by --options with optional overrides. |
Provides a mocking engine based on the current testing.db.
This is normally used to test DDL generation flow as emitted by an Engine.
It should not be used in other cases, as assert_compile() and assert_sql_execution() are much better choices with fewer moving parts.