1
Fork 0

Don't get coverage for tests

This commit is contained in:
Jake Howard 2016-01-26 07:54:34 +00:00
parent 8bf422407f
commit c9ce0e7f3d

View file

@ -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()