Remove whitenoise from middlewares during test suit as it causes out of memory errors.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -1 +1,7 @@
|
||||
from .base import * # NOQA
|
||||
|
||||
# Remove whitenoise from middlewares. Causes out of memory errors during test
|
||||
# suit
|
||||
MIDDLEWARE_CLASSES = [
|
||||
cls for cls in MIDDLEWARE_CLASSES if cls !='whitenoise.middleware.WhiteNoiseMiddleware'
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user