Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FAIL: test_inactive_user (django.contrib.auth.tests.forms.AuthenticationFormTest)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/forms.py", line 102, in test_inactive_user
- [u'This account is inactive.'])
- AssertionError: [u'Please enter a correct username and password. Note that both fields are case-sensitive.'] != [u'This account is inactive.']
- ======================================================================
- FAIL: test_success (django.contrib.auth.tests.forms.AuthenticationFormTest)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/forms.py", line 112, in test_success
- self.assertTrue(form.is_valid())
- AssertionError
- ======================================================================
- FAIL: test_password_change_fails_with_invalid_old_password (django.contrib.auth.tests.views.ChangePasswordTest)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 143, in test_password_change_fails_with_invalid_old_password
- self.login()
- File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 127, in login
- self.assertEquals(response.status_code, 302)
- AssertionError: 200 != 302
- ======================================================================
- FAIL: test_password_change_fails_with_mismatched_passwords (django.contrib.auth.tests.views.ChangePasswordTest)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 154, in test_password_change_fails_with_mismatched_passwords
- self.login()
- File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 127, in login
- self.assertEquals(response.status_code, 302)
- AssertionError: 200 != 302
- ======================================================================
- FAIL: test_password_change_succeeds (django.contrib.auth.tests.views.ChangePasswordTest)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 165, in test_password_change_succeeds
- self.login()
- File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 127, in login
- self.assertEquals(response.status_code, 302)
- AssertionError: 200 != 302
- ======================================================================
- FAIL: test_security_check (django.contrib.auth.tests.views.LoginTest)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 207, in test_security_check
- self.assertEquals(response.status_code, 302)
- AssertionError: 200 != 302
- ======================================================================
- FAIL: Logout without next_page option renders the default template
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 246, in test_logout_default
- self.login()
- File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 237, in login
- self.assertEquals(response.status_code, 302)
- AssertionError: 200 != 302
- ======================================================================
- FAIL: Logout with custom query string redirects to specified resource
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 270, in test_logout_with_custom_redirect_argument
- self.login()
- File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 237, in login
- self.assertEquals(response.status_code, 302)
- AssertionError: 200 != 302
- ======================================================================
- FAIL: Logout with next_page option given redirects to specified resource
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 254, in test_logout_with_next_page_specified
- self.login()
- File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 237, in login
- self.assertEquals(response.status_code, 302)
- AssertionError: 200 != 302
- ======================================================================
- FAIL: Logout with query string redirects to specified resource
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 262, in test_logout_with_redirect_argument
- self.login()
- File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 237, in login
- self.assertEquals(response.status_code, 302)
- AssertionError: 200 != 302
- ----------------------------------------------------------------------
- Ran 143 tests in 14.733s
- FAILED (failures=10)
- Destroying test database 'default'...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement