1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-07-07 16:28:31 +02:00

Tests should not depend on Matrix-nio, that uses lxml that needs a lot of dependencies and a lot of time to build

This commit is contained in:
Yohann D'ANELLO
2020-11-03 20:52:55 +01:00
parent 1ddf39f296
commit 04dd02b88a
11 changed files with 110 additions and 85 deletions

View File

@ -51,16 +51,14 @@ INSTALLED_APPS = [
'django.forms',
'bootstrap_datepicker_plus',
'cas_server',
'crispy_forms',
'django_extensions',
'django_tables2',
'haystack',
'logs',
'mailer',
'polymorphic',
'rest_framework',
'rest_framework.authtoken',
'cas_server',
'api',
'eastereggs',
@ -68,6 +66,12 @@ INSTALLED_APPS = [
'participation',
]
if "test" not in sys.argv: # pragma: no cover
INSTALLED_APPS += [
'django_extensions',
'mailer',
]
MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',