diff options
| author | Karen Tracey <kmtracey@caktusgroup.com> | 2012-05-02 16:06:00 -0700 |
|---|---|---|
| committer | Karen Tracey <kmtracey@caktusgroup.com> | 2012-05-02 16:06:00 -0700 |
| commit | b86a00187d621bef9da5060ea16f26d9f12dc9dd (patch) | |
| tree | 256137261343f76d3571ffc684a7173c1af9e04a /tests/test_sqlite.py | |
| parent | 435081fd22cec08d98ccbf1efcd223ccaa634ecd (diff) | |
| parent | 0819957eda318205e17591dccd81482701eab25c (diff) | |
Merge pull request #28 from akaariai/ticket_18163
Ticket 18163 - use faster password hasher in tests.
Diffstat (limited to 'tests/test_sqlite.py')
| -rw-r--r-- | tests/test_sqlite.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_sqlite.py b/tests/test_sqlite.py index 41c3b25b68..c04ef97cd0 100644 --- a/tests/test_sqlite.py +++ b/tests/test_sqlite.py @@ -22,3 +22,9 @@ DATABASES = { } SECRET_KEY = "django_tests_secret_key" +# To speed up tests under SQLite we use the MD5 hasher as the default one. +# This should not be needed under other databases, as the relative speedup +# is only marginal there. +PASSWORD_HASHERS = ( + 'django.contrib.auth.hashers.MD5PasswordHasher', +) |
