jbalogh/test-utils — Issue #14: transaction support for mysql connection not detected 
Author: kumar303
Created: 2011-12-20 22:32:56+00:00
State: open

After upgrading playdoh to a newer test-utils we go this failure in our suite:

======================================================================
ERROR: test suite for
----------------------------------------------------------------------
Traceback (most recent call last):
File "/var/lib/jenkins/jobs/playdoh-funfactory/workspace/.tox/py26/lib/python2.6/site-packages/nose/suite.py", line 208, in run
self.setUp()
File "/var/lib/jenkins/jobs/playdoh-funfactory/workspace/.tox/py26/lib/python2.6/site-packages/nose/suite.py", line 291, in setUp
self.setupContext(ancestor)
File "/var/lib/jenkins/jobs/playdoh-funfactory/workspace/.tox/py26/lib/python2.6/site-packages/nose/suite.py", line 314, in setupContext
try_run(context, names)
File "/var/lib/jenkins/jobs/playdoh-funfactory/workspace/.tox/py26/lib/python2.6/site-packages/nose/util.py", line 478, in try_run
return func()
File "/var/lib/jenkins/jobs/playdoh-funfactory/workspace/.playdoh/funtestapp/vendor/src/test-utils/test_utils/__init__.py", line 147, in setUpClass
'capabilities.' % cls.__name__)
NotImplementedError: AbsolutifyTests supports only DBs with transaction capabilities.

The tests use mysql which should support a transaction, however ``connections.all()[0].features.supports_transaction`` is indeed None. Any ideas? Playdoh uses Django 1.3.1. I could also verify that ``feature.confirm()`` (which sets the transaction flag) had not been run but I don't know why.