forked from DGNum/gestioCOF
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:
parent
44eee9be38
commit
6059ca067b
3 changed files with 18 additions and 15 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue