diff --git a/lms/envs/test.py b/lms/envs/test.py index c0e9e54d14..5a38b1c0d8 100644 --- a/lms/envs/test.py +++ b/lms/envs/test.py @@ -172,3 +172,15 @@ FILE_UPLOAD_HANDLERS = ( 'django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler', ) + +################### Make tests faster + +#http://slacy.com/blog/2012/04/make-your-tests-faster-in-django-1-4/ +PASSWORD_HASHERS = ( + # 'django.contrib.auth.hashers.PBKDF2PasswordHasher', + # 'django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher', + # 'django.contrib.auth.hashers.BCryptPasswordHasher', + 'django.contrib.auth.hashers.SHA1PasswordHasher', + 'django.contrib.auth.hashers.MD5PasswordHasher', + # 'django.contrib.auth.hashers.CryptPasswordHasher', +)