Advertisement
Guest User

Untitled

a guest
Sep 29th, 2011
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 5.45 KB | None | 0 0
  1. FAIL: test_inactive_user (django.contrib.auth.tests.forms.AuthenticationFormTest)
  2. ----------------------------------------------------------------------
  3. Traceback (most recent call last):
  4.   File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/forms.py", line 102, in test_inactive_user
  5.     [u'This account is inactive.'])
  6. AssertionError: [u'Please enter a correct username and password. Note that both fields are case-sensitive.'] != [u'This account is inactive.']
  7.  
  8. ======================================================================
  9. FAIL: test_success (django.contrib.auth.tests.forms.AuthenticationFormTest)
  10. ----------------------------------------------------------------------
  11. Traceback (most recent call last):
  12.   File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/forms.py", line 112, in test_success
  13.     self.assertTrue(form.is_valid())
  14. AssertionError
  15.  
  16. ======================================================================
  17. FAIL: test_password_change_fails_with_invalid_old_password (django.contrib.auth.tests.views.ChangePasswordTest)
  18. ----------------------------------------------------------------------
  19. Traceback (most recent call last):
  20.   File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 143, in test_password_change_fails_with_invalid_old_password
  21.     self.login()
  22.   File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 127, in login
  23.     self.assertEquals(response.status_code, 302)
  24. AssertionError: 200 != 302
  25.  
  26. ======================================================================
  27. FAIL: test_password_change_fails_with_mismatched_passwords (django.contrib.auth.tests.views.ChangePasswordTest)
  28. ----------------------------------------------------------------------
  29. Traceback (most recent call last):
  30.   File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 154, in test_password_change_fails_with_mismatched_passwords
  31.     self.login()
  32.   File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 127, in login
  33.     self.assertEquals(response.status_code, 302)
  34. AssertionError: 200 != 302
  35.  
  36. ======================================================================
  37. FAIL: test_password_change_succeeds (django.contrib.auth.tests.views.ChangePasswordTest)
  38. ----------------------------------------------------------------------
  39. Traceback (most recent call last):
  40.   File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 165, in test_password_change_succeeds
  41.     self.login()
  42.   File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 127, in login
  43.     self.assertEquals(response.status_code, 302)
  44. AssertionError: 200 != 302
  45.  
  46. ======================================================================
  47. FAIL: test_security_check (django.contrib.auth.tests.views.LoginTest)
  48. ----------------------------------------------------------------------
  49. Traceback (most recent call last):
  50.   File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 207, in test_security_check
  51.     self.assertEquals(response.status_code, 302)
  52. AssertionError: 200 != 302
  53.  
  54. ======================================================================
  55. FAIL: Logout without next_page option renders the default template
  56. ----------------------------------------------------------------------
  57. Traceback (most recent call last):
  58.   File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 246, in test_logout_default
  59.     self.login()
  60.   File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 237, in login
  61.     self.assertEquals(response.status_code, 302)
  62. AssertionError: 200 != 302
  63.  
  64. ======================================================================
  65. FAIL: Logout with custom query string redirects to specified resource
  66. ----------------------------------------------------------------------
  67. Traceback (most recent call last):
  68.   File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 270, in test_logout_with_custom_redirect_argument
  69.     self.login()
  70.   File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 237, in login
  71.     self.assertEquals(response.status_code, 302)
  72. AssertionError: 200 != 302
  73.  
  74. ======================================================================
  75. FAIL: Logout with next_page option given redirects to specified resource
  76. ----------------------------------------------------------------------
  77. Traceback (most recent call last):
  78.   File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 254, in test_logout_with_next_page_specified
  79.     self.login()
  80.   File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 237, in login
  81.     self.assertEquals(response.status_code, 302)
  82. AssertionError: 200 != 302
  83.  
  84. ======================================================================
  85. FAIL: Logout with query string redirects to specified resource
  86. ----------------------------------------------------------------------
  87. Traceback (most recent call last):
  88.   File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 262, in test_logout_with_redirect_argument
  89.     self.login()
  90.   File "/usr/lib/pymodules/python2.6/django/contrib/auth/tests/views.py", line 237, in login
  91.     self.assertEquals(response.status_code, 302)
  92. AssertionError: 200 != 302
  93.  
  94. ----------------------------------------------------------------------
  95. Ran 143 tests in 14.733s
  96.  
  97. FAILED (failures=10)
  98. Destroying test database 'default'...
  99.  
  100.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement