move coverage option in .coveragerc
This commit is contained in:
parent
94f46f5187
commit
0b7336a113
2 changed files with 9 additions and 1 deletions
8
.coveragerc
Normal file
8
.coveragerc
Normal file
|
@ -0,0 +1,8 @@
|
|||
[run]
|
||||
branch = True
|
||||
source = issue
|
||||
omit = issue/migrations/*.py
|
||||
|
||||
[report]
|
||||
exclude_lines =
|
||||
raise ImproperlyConfigured
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue