From 715b26cac0623a510bf1afe478857487aab861a1 Mon Sep 17 00:00:00 2001 From: Rob Dennis Date: Wed, 12 Mar 2014 22:13:57 -0400 Subject: #14 - py-cov has a known issue with showing lines gathered during pre-test collection as not covered; use coverage instead --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 0453810..1d71631 100644 --- a/tox.ini +++ b/tox.ini @@ -8,4 +8,5 @@ setenv = PYTHONWARNINGS = always commands=python test_configobj.py python validate.py - py.test tests --cov-report term-missing --cov configobj.py --cov validate.py + coverage run --source=configobj.py,validate.py -m py.test tests + coverage report -- cgit v1.2.1