Commit 42323fdd by Timothée Peignier

Silence logging during tests

parent e29bc05f
......@@ -117,12 +117,10 @@ PIPELINE = {
}
}
TEMPLATE_DIRS = (
local_path('templates'),
)
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
......@@ -138,3 +136,19 @@ TEMPLATES = [
}
}
]
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'handlers': {
'console': {
'class': 'logging.StreamHandler',
},
},
'loggers': {
'pipeline.templatetags.pipeline': {
'handlers': ['console'],
'level': 'ERROR',
},
},
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment