Commit f1029b30 authored by Claude Paroz's avatar Claude Paroz
Browse files

Fixed a misnamed variable introduced in commit 142ec8b2

Refs #8404.
parent 142ec8b2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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