manage.py test is producing one failure out of 326 tests which might be
due to an empty template. The test is asserting that response contains
'Session not accessed'
With an empty template the assertion should succeed if it said the
response does not contain something. But for it to assert it contains
anything at all there should be at least something in the template.
The template producing the error appears to be ...
django/contrib/auth/tests/templates/context_processors/auth_attrs_no_access.html
I copied the contents of ../auth_attrs_test_access.html into
auth_attrs_no_access.html and the test passed. See diff below.
Cheers
Mike
+++
/django/contrib/auth/tests/templates/context_processors/auth_attrs_no_access.html
Fri Sep 2 13:39:08 2011
@@ -1 +1 @@
-
+{% if session_accessed %}Session accessed{% else %}Session not
accessed{% endif %}
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment