]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- add some more transaction states so that we deliver a more accurate
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 4 Mar 2013 17:50:11 +0000 (12:50 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 4 Mar 2013 17:50:11 +0000 (12:50 -0500)
commit029b79052cae9a74c9b4dceea92d8ec00595f175
tree5e58cae8f3aa6a27312d7a039cd46e4a34063b52
parentf4679ea26cb05eab35ffa28ce140a7fff5b46ff8
- add some more transaction states so that we deliver a more accurate
message for [ticket:2662]; after_commit() is called within "committed"
state, not prepared, and no SQL can be emitted for prepared or committed
- consolidate state assertions in session transaction, use just one
method
- add more unit tests for these assertions
lib/sqlalchemy/orm/session.py
test/orm/test_transaction.py