]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
reinstated two_phase test. currently it passes on PG with and without threadlocal.
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 17 Aug 2007 18:01:52 +0000 (18:01 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 17 Aug 2007 18:01:52 +0000 (18:01 +0000)
test/orm/session.py

index 9d84408fb3108baab962a5ffebd220e30b8b8788..381b54d5517215a4044debbaf89528b550bb38e3 100644 (file)
@@ -239,11 +239,9 @@ class SessionTest(AssertMixin):
             conn.close()
             raise
     
-    @testing.supported('mysql')
-#    @testing.supported('postgres', 'mysql')
+    @testing.supported('postgres', 'mysql')
     @testing.exclude('mysql', '<', (5, 0, 3))
-#    @engines.rollback_open_connections
-    def dont_test_twophase(self):
+    def test_twophase(self):
         # TODO: mock up a failure condition here
         # to ensure a rollback succeeds
         class User(object):pass