summaryrefslogtreecommitdiff
path: root/tests/modeltests/test_client
diff options
context:
space:
mode:
authorKaren Tracey <kmtracey@caktusgroup.com>2012-05-02 16:06:00 -0700
committerKaren Tracey <kmtracey@caktusgroup.com>2012-05-02 16:06:00 -0700
commitb86a00187d621bef9da5060ea16f26d9f12dc9dd (patch)
tree256137261343f76d3571ffc684a7173c1af9e04a /tests/modeltests/test_client
parent435081fd22cec08d98ccbf1efcd223ccaa634ecd (diff)
parent0819957eda318205e17591dccd81482701eab25c (diff)
Merge pull request #28 from akaariai/ticket_18163
Ticket 18163 - use faster password hasher in tests.
Diffstat (limited to 'tests/modeltests/test_client')
-rw-r--r--tests/modeltests/test_client/models.py3
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']