django trunk AuthContextProcessorTests test_session_not_accessed失败

时间:2011-11-17 04:15:50

标签: django

我在项目中使用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

我不确定通过此测试需要什么。

1 个答案:

答案 0 :(得分:0)

这是django中的已知错误。

参考 - https://code.djangoproject.com/ticket/16366