From: Mike Bayer Date: Fri, 17 Aug 2007 18:01:52 +0000 (+0000) Subject: reinstated two_phase test. currently it passes on PG with and without threadlocal. X-Git-Tag: rel_0_4beta4~55 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=56ec973cd44414bf35ebe23f72ce0e57940e00e0;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git reinstated two_phase test. currently it passes on PG with and without threadlocal. --- diff --git a/test/orm/session.py b/test/orm/session.py index 9d84408fb3..381b54d551 100644 --- a/test/orm/session.py +++ b/test/orm/session.py @@ -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