move coverage option in .coveragerc

This commit is contained in:
Élie Bouttier 2014-08-13 19:23:05 -07:00
parent 94f46f5187
commit 0b7336a113
2 changed files with 9 additions and 1 deletions

8
.coveragerc Normal file
View file

@ -0,0 +1,8 @@
[run]
branch = True
source = issue
omit = issue/migrations/*.py
[report]
exclude_lines =
raise ImproperlyConfigured

View file

@ -5,5 +5,5 @@
. env/bin/activate
coverage run --source=issue --omit=issue/migrations/*.py manage.py test
coverage run manage.py test
coverage report