﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
3396	test_client unittest fails under python 2.3	Robert Myers <myer0052@…>	Adrian Holovaty	"Running the Unittests for Django the following errors occur. 

{{{
$python runtests.py --settings=testdj.settings
======================================================================
ERROR: Request a page that is protected with @login, but use bad credentials
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""/var/www/local/django/tests/modeltests/test_client/models.py"", line 101, in test_view_with_bad_login
    self.assertFalse(response)
AttributeError: 'ClientTest' object has no attribute 'assertFalse'

======================================================================
ERROR: Request a page that is protected with @login_required
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""/var/www/local/django/tests/modeltests/test_client/models.py"", line 92, in test_view_with_login
    self.assertTrue(response)
AttributeError: 'ClientTest' object has no attribute 'assertTrue'

======================================================================
FAIL: POST an empty dictionary to a view
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""/var/www/local/django/tests/modeltests/test_client/models.py"", line 53, in test_empty_post
    self.assertEqual(response.status_code, 200)
  File ""/usr/lib/python2.3/unittest.py"", line 302, in failUnlessEqual
    raise self.failureException, \
AssertionError: 500 != 200

----------------------------------------------------------------------
Ran 68 tests in 6.298s

FAILED (failures=1, errors=2)
}}}"		closed	Testing framework	dev		fixed		adurdin@…	Accepted	1	0	0	1	0	0
