Created
January 1, 2013 14:28
-
-
Save bak1an/4427871 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/tests/test_sqlite.py b/tests/test_sqlite.py | |
| index c04ef97..14c5da6 100644 | |
| --- a/tests/test_sqlite.py | |
| +++ b/tests/test_sqlite.py | |
| @@ -22,9 +22,26 @@ DATABASES = { | |
| } | |
| SECRET_KEY = "django_tests_secret_key" | |
| -# To speed up tests under SQLite we use the MD5 hasher as the default one. | |
| +# 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', | |
| ) | |
| + | |
| +LOGGING = { | |
| + 'version': 1, | |
| + 'handlers': { | |
| + 'console':{ | |
| + 'level': 'DEBUG', | |
| + 'class': 'logging.StreamHandler', | |
| + } | |
| + }, | |
| + 'loggers': { | |
| + 'py.warnings': { | |
| + 'handlers': ['console'], | |
| + 'propagate': True, | |
| + 'level': 'WARNING', | |
| + } | |
| + } | |
| +} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment