summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-02-26 10:00:14 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-02-26 10:00:14 +0100
commit8dd8400f7eb7a4cf0a2e1a0c6cd3e5825ac94be7 (patch)
treea3ea79979768a70cf6ed318c54062322fb82b626
parent6a8f95d812797a0c7af85df27c51f588c8649c69 (diff)
Updated an inaccurate comment.
Tests can run nearly as fast under PostgreSQL and MySQL as under SQLite with a bit of configuration and the speedup is always a good thing.
-rw-r--r--tests/test_sqlite.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_sqlite.py b/tests/test_sqlite.py
index c04ef97cd0..6bce452c79 100644
--- a/tests/test_sqlite.py
+++ b/tests/test_sqlite.py
@@ -22,9 +22,8 @@ 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.
+
+# Use a fast hasher to speed up tests.
PASSWORD_HASHERS = (
'django.contrib.auth.hashers.MD5PasswordHasher',
)