manage.py test -v2                     
Creating test database for alias 'mysite' (':memory:')...
Operations to perform:
  Apply all migrations: admin, contenttypes, sites, auth, sessions
Running migrations:
  Applying contenttypes.0001_initial... OK
  Applying auth.0001_initial... OK
  Applying admin.0001_initial... OK
  Applying sessions.0001_initial... OK
  Applying sites.0001_initial... OK
ERROR

======================================================================
ERROR: test_pouet (mysite.tests.MyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/thomas/dev/django/django/test/testcases.py", line 182, in __call__
    self._pre_setup()
  File "/Users/thomas/dev/django/django/test/testcases.py", line 754, in _pre_setup
    self._fixture_setup()
  File "/Users/thomas/dev/django/django/test/testcases.py", line 887, in _fixture_setup
    if not connections_support_transactions():
  File "/Users/thomas/dev/django/django/test/testcases.py", line 874, in connections_support_transactions
    for conn in connections.all())
  File "/Users/thomas/dev/django/django/test/testcases.py", line 874, in <genexpr>
    for conn in connections.all())
  File "/Users/thomas/dev/django/django/utils/functional.py", line 55, in __get__
    res = instance.__dict__[self.func.__name__] = self.func(instance)
  File "/Users/thomas/dev/django/django/db/backends/__init__.py", line 782, in supports_transactions
    self.connection.leave_transaction_management()
  File "/Users/thomas/dev/django/django/db/backends/__init__.py", line 338, in leave_transaction_management
    if managed == self.get_autocommit():
  File "/Users/thomas/dev/django/django/db/backends/__init__.py", line 345, in get_autocommit
    self.ensure_connection()
  File "/Users/thomas/dev/django/django/db/backends/__init__.py", line 133, in ensure_connection
    self.connect()
  File "/Users/thomas/dev/django/django/db/utils.py", line 86, in __exit__
    db_exc_type = getattr(self.wrapper.Database, dj_exc_type.__name__)
AttributeError: 'DatabaseWrapper' object has no attribute 'Database'

----------------------------------------------------------------------
Ran 0 tests in 0.001s

FAILED (errors=1)
Destroying test database for alias 'mysite' (':memory:')...
