(self)
| 1266 | sess.commit() |
| 1267 | |
| 1268 | def test_active_flag_autobegin(self): |
| 1269 | sess = Session( |
| 1270 | bind=config.db, |
| 1271 | ) |
| 1272 | assert sess.is_active |
| 1273 | assert not sess.in_transaction() |
| 1274 | sess.begin() |
| 1275 | assert sess.is_active |
| 1276 | sess.rollback() |
| 1277 | assert sess.is_active |
| 1278 | |
| 1279 | def test_active_flag_autobegin_future(self): |
| 1280 | sess = Session(bind=config.db) |
nothing calls this directly
no test coverage detected