I have just installed Django 1.2 hoping, that my test suites will
finally work flawlessly and I won't have to watch tests from
django.contrib.auth fail. But, here they are again. Does anyone have
any idea, how I can get rid of those? I would really like to see no
errors, because this way we could easily automate testing and detect
any true errors.

======================================================================
ERROR: test_known_user
(django.contrib.auth.tests.remote_user.RemoteUserCustomTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.6/dist-packages/django/contrib/auth/tests/remote_user.py",
line 160, in test_known_user
    super(RemoteUserCustomTest, self).test_known_user()
  File 
"/usr/local/lib/python2.6/dist-packages/django/contrib/auth/tests/remote_user.py",
line 67, in test_known_user
    self.assertEqual(response.context['user'].username, 'knownuser')
TypeError: 'NoneType' object is unsubscriptable

======================================================================
ERROR: test_last_login
(django.contrib.auth.tests.remote_user.RemoteUserCustomTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.6/dist-packages/django/contrib/auth/tests/remote_user.py",
line 87, in test_last_login
    self.assertNotEqual(default_login, response.context['user'].last_login)
TypeError: 'NoneType' object is unsubscriptable

======================================================================
ERROR: test_no_remote_user
(django.contrib.auth.tests.remote_user.RemoteUserCustomTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.6/dist-packages/django/contrib/auth/tests/remote_user.py",
line 33, in test_no_remote_user
    self.assert_(response.context['user'].is_anonymous())
TypeError: 'NoneType' object is unsubscriptable

======================================================================
ERROR: test_unknown_user
(django.contrib.auth.tests.remote_user.RemoteUserCustomTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.6/dist-packages/django/contrib/auth/tests/remote_user.py",
line 168, in test_unknown_user
    super(RemoteUserCustomTest, self).test_unknown_user()
  File 
"/usr/local/lib/python2.6/dist-packages/django/contrib/auth/tests/remote_user.py",
line 51, in test_unknown_user
    self.assertEqual(response.context['user'].username, 'newuser')
TypeError: 'NoneType' object is unsubscriptable

======================================================================
ERROR: test_known_user
(django.contrib.auth.tests.remote_user.RemoteUserNoCreateTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.6/dist-packages/django/contrib/auth/tests/remote_user.py",
line 67, in test_known_user
    self.assertEqual(response.context['user'].username, 'knownuser')
TypeError: 'NoneType' object is unsubscriptable

======================================================================
ERROR: test_last_login
(django.contrib.auth.tests.remote_user.RemoteUserNoCreateTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.6/dist-packages/django/contrib/auth/tests/remote_user.py",
line 87, in test_last_login
    self.assertNotEqual(default_login, response.context['user'].last_login)
TypeError: 'NoneType' object is unsubscriptable

======================================================================
ERROR: test_no_remote_user
(django.contrib.auth.tests.remote_user.RemoteUserNoCreateTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.6/dist-packages/django/contrib/auth/tests/remote_user.py",
line 33, in test_no_remote_user
    self.assert_(response.context['user'].is_anonymous())
TypeError: 'NoneType' object is unsubscriptable

======================================================================
ERROR: test_unknown_user
(django.contrib.auth.tests.remote_user.RemoteUserNoCreateTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.6/dist-packages/django/contrib/auth/tests/remote_user.py",
line 118, in test_unknown_user
    self.assert_(response.context['user'].is_anonymous())
TypeError: 'NoneType' object is unsubscriptable

======================================================================
ERROR: test_known_user (django.contrib.auth.tests.remote_user.RemoteUserTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.6/dist-packages/django/contrib/auth/tests/remote_user.py",
line 67, in test_known_user
    self.assertEqual(response.context['user'].username, 'knownuser')
TypeError: 'NoneType' object is unsubscriptable

======================================================================
ERROR: test_last_login (django.contrib.auth.tests.remote_user.RemoteUserTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.6/dist-packages/django/contrib/auth/tests/remote_user.py",
line 87, in test_last_login
    self.assertNotEqual(default_login, response.context['user'].last_login)
TypeError: 'NoneType' object is unsubscriptable

======================================================================
ERROR: test_no_remote_user
(django.contrib.auth.tests.remote_user.RemoteUserTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.6/dist-packages/django/contrib/auth/tests/remote_user.py",
line 33, in test_no_remote_user
    self.assert_(response.context['user'].is_anonymous())
TypeError: 'NoneType' object is unsubscriptable

======================================================================
ERROR: test_unknown_user (django.contrib.auth.tests.remote_user.RemoteUserTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.6/dist-packages/django/contrib/auth/tests/remote_user.py",
line 51, in test_unknown_user
    self.assertEqual(response.context['user'].username, 'newuser')
TypeError: 'NoneType' object is unsubscriptable

======================================================================
FAIL: test_current_site_in_context_after_login
(django.contrib.auth.tests.views.LoginTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/usr/local/lib/python2.6/dist-packages/django/contrib/auth/tests/views.py",
line 181, in test_current_site_in_context_after_login
    self.assertEquals(response.status_code, 200)
AssertionError: 302 != 200

----------------------------------------------------------------------

-- 
Filip Gruszczyński

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to