#17691: conflict of django.contrib.auth with project's middleware
------------------------------+--------------------
Reporter: andrey@… | Owner: nobody
Type: Bug | Status: new
Component: contrib.auth | Version: SVN
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+--------------------
If I add django-debug-toolbar middleware, which uses session access, test
"Session not accessed will" fail:
{{{
Traceback (most recent call last):
File
"/Users/gugu/w/virtualenv/eksmo/src/django/django/contrib/auth/tests/context_processors.py",
line 31, in test_session_not_accessed
self.assertContains(response, "Session not accessed")
File
"/Users/gugu/w/virtualenv/eksmo/src/django/django/test/testcases.py", line
538, in assertContains
msg_prefix + "Couldn't find '%s' in response" % text)
AssertionError: Couldn't find 'Session not accessed' in response
}}}
You need to override middleware list to make this test working in all
configurations
--
Ticket URL: <https://code.djangoproject.com/ticket/17691>
Django <https://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.