mirror of https://github.com/django/django.git
Fixed minor typo in assertion message.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5620 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
05de381512
commit
71cb907131
|
@ -63,7 +63,7 @@ class TestCase(unittest.TestCase):
|
|||
|
||||
"""
|
||||
self.assertEqual(response.status_code, status_code,
|
||||
"Response didn't redirect as expected: Reponse code was %d (expected %d)" %
|
||||
"Response didn't redirect as expected: Response code was %d (expected %d)" %
|
||||
(response.status_code, status_code))
|
||||
scheme, netloc, path, params, query, fragment = urlparse(response['Location'])
|
||||
self.assertEqual(path, expected_path,
|
||||
|
|
Loading…
Reference in New Issue