# HG changeset patch # User Brian Neal # Date 1390173769 21600 # Node ID 87490b87c076e8cbc204b57587444b1642bc19ef # Parent 20a3bf7a637060ae9130e532ee66c2d19adf4646 Add settings during test to speed things up & disable logging. diff -r 20a3bf7a6370 -r 87490b87c076 sg101/settings/test.py --- a/sg101/settings/test.py Sun Jan 19 11:25:45 2014 -0600 +++ b/sg101/settings/test.py Sun Jan 19 17:22:49 2014 -0600 @@ -2,8 +2,19 @@ Settings to use when running tests. Uses sqlite for speed. """ +import logging + from sg101.settings.base import * + +# Speed up tests: +DEBUG = False +TEMPLATE_DEBUG = False +logging.disable(logging.CRITICAL) +PASSWORD_HASHERS = [ + 'django.contrib.auth.hashers.MD5PasswordHasher', +] + # Use a different database in Redis for tests REDIS_DB = 14 QUEUE_REDIS_DB = 14