Add coverage test module django_nose

This commit is contained in:
Jan Tuomi
2017-03-02 13:09:36 +02:00
parent 338b9ead70
commit bf9aad4f4c
2 changed files with 10 additions and 0 deletions
+2
View File
@@ -17,3 +17,5 @@ requests==2.11.1
django-nocaptcha-recaptcha==0.0.19
django-cors-headers==2.0.1
djangorestframework==3.5.3
coverage==4.3.4
django-nose==1.4.4
+8
View File
@@ -45,6 +45,14 @@ INSTALLED_APPS = [
'members',
'infoscreen',
'rest_framework',
'django_nose',
]
TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
NOSE_ARGS = [
'--with-coverage',
'--cover-package=webapp,members,infoscreen',
]
MIDDLEWARE_CLASSES = [