diff options
Diffstat (limited to 'tests/modeltests/test_client/models.py')
| -rw-r--r-- | tests/modeltests/test_client/models.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/modeltests/test_client/models.py b/tests/modeltests/test_client/models.py index 02666cef52..cfbb4fba7a 100644 --- a/tests/modeltests/test_client/models.py +++ b/tests/modeltests/test_client/models.py @@ -25,10 +25,11 @@ from __future__ import absolute_import from django.conf import settings from django.core import mail from django.test import Client, TestCase, RequestFactory +from django.test.utils import override_settings from .views import get_view - +@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',)) class ClientTest(TestCase): fixtures = ['testdata.json'] |
