Added greenlet support for coverage.

This commit is contained in:
Antoine Nguyen
2020-06-17 12:03:12 +02:00
parent 12399a5fad
commit 57d68390c5
4 changed files with 11 additions and 3 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
[run]
branch = True
concurrency = multiprocessing
concurrency = multiprocessing, greenlet
parallel = True
source = ../modoboa
+1 -1
View File
@@ -189,10 +189,10 @@ MODOBOA_API_URL = 'https://api.modoboa.org/1/'
# REDIS
REDIS_URL = 'redis://localhost/0'
REDIS_HOST = 'localhost'
REDIS_PORT = 6379
REDIS_QUOTA_DB = 0
REDIS_URL = 'redis://{}:{}/{}'.format(REDIS_HOST, REDIS_PORT, REDIS_QUOTA_DB)
# Password validation
# https://docs.djangoproject.com/en/2.2/ref/settings/#auth-password-validators