Don't get coverage for tests
This commit is contained in:
parent
8bf422407f
commit
c9ce0e7f3d
1 changed files with 1 additions and 1 deletions
2
runtests
2
runtests
|
@ -22,7 +22,7 @@ def check_if_exit_code():
|
|||
|
||||
cov = coverage.Coverage(
|
||||
source=["project"],
|
||||
omit=["*/wsgi.py", "*/settings.py", "*/migrations/*.py", "*/__init__*"]
|
||||
omit=["*/wsgi.py", "*/settings.py", "*/migrations/*.py", "*/__init__*", "*/tests.py"]
|
||||
)
|
||||
cov.start()
|
||||
|
||||
|
|
Reference in a new issue