MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_rollback

Method test_rollback

test/orm/test_session.py:2486–2490  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2484 self._test_session().expire_all()
2485
2486 def test_rollback(self):
2487 sess = self._test_session(expire_on_commit=True)
2488 sess.commit()
2489
2490 sess.rollback()
2491
2492
2493class SessionInterface(fixtures.MappedTest):

Callers

nothing calls this directly

Calls 3

_test_sessionMethod · 0.95
commitMethod · 0.45
rollbackMethod · 0.45

Tested by

no test coverage detected