ERROR test_password_change _fails_with_invalid_ old_password django co

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
ERROR: test_password_change_fails_with_invalid_old_password (django.contrib.auth.tests.views.ChangePasswordTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/django/contrib/auth/tests/views.py", line 135, in test_password_change_fails_with_invalid_old_password
'new_password2': 'password1',
File "/usr/lib/python2.5/site-packages/django/test/client.py", line 296, in post
return self.request(**r)
File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py", line 86, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.5/site-packages/django/contrib/auth/decorators.py", line 66, in __call__
if self.test_func(request.user):
AttributeError: 'WSGIRequest' object has no attribute 'user'