Public bug reported: | $ python manage.py test | Creating test database for alias 'default'... | .................................................................................E | ====================================================================== | ERROR: test_site_profile_not_available (django.contrib.auth.tests.models.ProfileTestCase) | ---------------------------------------------------------------------- | Traceback (most recent call last): | File "/usr/lib/python2.7/dist-packages/django/contrib/auth/tests/models.py", line 29, in test_site_profile_not_available | del settings.AUTH_PROFILE_MODULE | File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 215, in __delattr__ | delattr(self._wrapped, name) | AttributeError: AUTH_PROFILE_MODULE | | ---------------------------------------------------------------------- | Ran 82 tests in 10.162s | | FAILED (errors=1) | Destroying test database for alias 'default'... | $
This seems to be: * https://code.djangoproject.com/ticket/17966 and * https://code.djangoproject.com/ticket/18824 I fixed it locally with a patch that imports 22f85b9057825b5b4139abf5fd7e8c4ba0d16981 and brings django/contrib/auth/tests/models.py up to 531878302735e6a2b36d82b584947bbf8eae8111. I've attached the diff. ** Affects: python-django (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1051720 Title: self-tests fail when using UserProfile - regression from precise To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-django/+bug/1051720/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs