From c9ce0e7f3df0add001ca7aef60932d6b539d10bd Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 26 Jan 2016 07:54:34 +0000 Subject: [PATCH] Don't get coverage for tests --- runtests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtests b/runtests index e4a852f..cf6baf7 100755 --- a/runtests +++ b/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()