summaryrefslogtreecommitdiff
path: root/tests/modeltests/test_client/models.py
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-09-14 09:55:17 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-09-14 09:55:17 +0000
commitea3e89cb1d32f1fc6cafa656a4d6d9863f2fefc5 (patch)
tree061f593bc1a6d5e08a36a424d0e2df0cff4dd3a8 /tests/modeltests/test_client/models.py
parentfa5e935af02eed26d8e607ed55e3ba3500811601 (diff)
Fixed a bunch of Python 2.3 issues. Two tests still fail, but this fixes the bulk of things.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6183 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/modeltests/test_client/models.py')
-rw-r--r--tests/modeltests/test_client/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modeltests/test_client/models.py b/tests/modeltests/test_client/models.py
index 1ba86a4a41..32647552eb 100644
--- a/tests/modeltests/test_client/models.py
+++ b/tests/modeltests/test_client/models.py
@@ -243,7 +243,7 @@ class ClientTest(TestCase):
# Log in
login = self.client.login(username='testclient', password='password')
- self.assertTrue(login, 'Could not log in')
+ self.failUnless(login, 'Could not log in')
# Request a page that requires a login
response = self.client.get('/test_client/login_protected_view/')