我在项目中使用django的trunk版本,当我运行我的单元测试时,我得到了
======================================================================
FAIL: test_session_not_accessed (django.contrib.auth.tests.context_processors.AuthContextProcessorTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./../django-trunk/django/contrib/auth/tests/context_processors.py", line 31, in test_session_not_accessed
self.assertContains(response, "Session not accessed")
File "./../django-trunk/django/test/testcases.py", line 524, in assertContains
msg_prefix + "Couldn't find '%s' in response" % text)
AssertionError: Couldn't find 'Session not accessed' in response
基于https://github.com/django/django
上的提交1964aac273我不确定通过此测试需要什么。