1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-21 01:18:22 +02:00

Don't use external libraries when running tests

This commit is contained in:
Yohann D'ANELLO
2020-12-28 19:12:07 +01:00
parent 67b01ea0b3
commit 0079b6d96d
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ INSTALLED_APPS = [
'participation',
]
if "test" not in sys.argv: # pragma: no cover
if "test" not in sys.argv and not "makemigrations" in sys.argv: # pragma: no cover
INSTALLED_APPS += [
'cas_server',
'django_extensions',