#14632: Bug - testing framework fails when contrib.auth not in settings.
----------------------------------------+-----------------------------------
Reporter: yoyoma | Owner: nobody
Status: new | Milestone: 1.3
Component: Testing framework | Version: SVN
Resolution: | Keywords: tests
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
----------------------------------------+-----------------------------------
Comment (by yoyoma):
It appears that the tests haven't changed since the decoupling of messages
from auth. In contrib\messages\tests\user_messages.py on line 13 and 39,
you'll see {{{setUp()}}} attempting to attache a user to TestCase, at
which point DataBaseError is raised, if auth not in
settings.INSTALLED_APPS.
Sorry if this is annoying and redundant information. I just thought it'd
help to not have to reproduce the problem, if I included some more
details.
--
Ticket URL: <http://code.djangoproject.com/ticket/14632#comment:2>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.