Speed up tests

~20% less using MD5 and force_login in kfet testcase.
~77% less by disabling the debug tollbar.
This commit is contained in:
Aurélien Delobelle 2018-01-15 05:26:33 +01:00
parent 44eee9be38
commit 6059ca067b
3 changed files with 18 additions and 15 deletions

View file

@ -7,6 +7,7 @@ the local development server should be here.
"""
import os
import sys
try:
from . import secret
@ -53,6 +54,8 @@ BASE_DIR = os.path.dirname(
os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
)
TESTING = sys.argv[1] == 'test'
# Application definition
INSTALLED_APPS = [