#14105: django.contrib.auth tests failing with cache middleware -----------------------------------+---------------------------------------- Reporter: baumer1122 | Owner: PaulM Status: assigned | Milestone: Component: Contrib apps | Version: 1.2 Resolution: | Keywords: Stage: Accepted | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | -----------------------------------+---------------------------------------- Changes (by PaulM):
* status: new => assigned * needs_better_patch: => 0 * needs_tests: => 0 * owner: nobody => PaulM * needs_docs: => 0 * stage: Unreviewed => Accepted Comment: I can duplicate this problem on trunk. The test failures all seem to point to `response.context` being returned as `None`. The failures are generally of this form: {{{ ====================================================================== ERROR: test_last_login (django.contrib.auth.tests.remote_user.RemoteUserCustomTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/django/contrib/auth/tests/remote_user.py", line 87, in test_last_login self.assertNotEqual(default_login, response.context['user'].last_login) TypeError: 'NoneType' object is unsubscriptable }}} -- Ticket URL: <http://code.djangoproject.com/ticket/14105#comment:1> 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 django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.