Kaydet (Commit) 70fe1ef2 authored tarafından Malcolm Tredinnick's avatar Malcolm Tredinnick

Fixed Python 2.3 problem I introduced all the way back in [6852]. :-(


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7000 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst d1793f17
......@@ -66,7 +66,7 @@ class CommonMiddlewareTest(TestCase):
try:
CommonMiddleware().process_request(request)
except RuntimeError, e:
self.assertTrue('end in a slash' in str(e))
self.failUnless('end in a slash' in str(e))
settings.DEBUG = False
def test_append_slash_disabled(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment