From 06b5f5fcb6db2fc20e2d455a34f3f4b0293cfd8c Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sun, 16 Dec 2012 07:18:45 +0800 Subject: [1.5.X] Corrected tests depending on the error message on the AuthenticationForm. Refs #19368, and the fix introduced in 27f8129d64292868f6a328f7bf9a1bed67967ff3. Backport of 9facca28b619ad94680cf07774ee7a377034ca42 from trunk. --- tests/regressiontests/admin_views/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/regressiontests/admin_views/tests.py b/tests/regressiontests/admin_views/tests.py index 18075dff34..d7f36c08b6 100644 --- a/tests/regressiontests/admin_views/tests.py +++ b/tests/regressiontests/admin_views/tests.py @@ -51,7 +51,7 @@ from .models import (Article, BarAccount, CustomArticle, EmptyModel, FooAccount, ERROR_MESSAGE = "Please enter the correct username and password \ -for a staff account. Note that both fields are case-sensitive." +for a staff account. Note that both fields may be case-sensitive." @override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',)) -- cgit v1.3