Merged in [10097] from olau@iola.dk, in order to speed up the test suite.

- Legacy-Id: 10453
Note: SVN reference [10097] has been migrated to Git commit 99a9cb5569
This commit is contained in:
Henrik Levkowetz 2015-11-08 14:24:19 +00:00
parent bb3424f0fa
commit fdc7dea3df

View file

@ -328,6 +328,8 @@ class IetfTestRunner(DiscoverRunner):
ietf.utils.mail.test_mode = True
ietf.utils.mail.SMTP_ADDR['ip4'] = '127.0.0.1'
ietf.utils.mail.SMTP_ADDR['port'] = 2025
# switch to a much faster hasher
settings.PASSWORD_HASHERS = ( 'django.contrib.auth.hashers.MD5PasswordHasher', )
#
if self.check_coverage:
if self.coverage_file.endswith('.gz'):