diff options
| author | Claude Paroz <claude@2xlibre.net> | 2013-02-14 08:33:10 +0100 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2013-02-14 08:33:10 +0100 |
| commit | f1029b308f3ea967a5d93aea2b730671898a56f5 (patch) | |
| tree | e1cbb451798146238e0e0bf53a6fec307461fe25 | |
| parent | 142ec8b2835c242339b930c47a70a3c7036df91d (diff) | |
Fixed a misnamed variable introduced in commit 142ec8b283
Refs #8404.
| -rw-r--r-- | django/contrib/auth/tests/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/auth/tests/views.py b/django/contrib/auth/tests/views.py index 42bea825f5..48dfc9ed76 100644 --- a/django/contrib/auth/tests/views.py +++ b/django/contrib/auth/tests/views.py @@ -53,7 +53,7 @@ class AuthViewsTestCase(TestCase): def assertFormError(self, response, error): """Assert that error is found in response.context['form'] errors""" form_errors = list(itertools.chain(*response.context['form'].errors.values())) - self.assertIn(force_text(text), form_errors) + self.assertIn(force_text(error), form_errors) @skipIfCustomUser |
