Don't include cmd script in coverage.

This commit is contained in:
Tobias Gruetzmacher 2017-10-13 00:12:18 +02:00
parent f1b83748ed
commit 69e6144843

View file

@ -3,7 +3,7 @@ envlist = py27, py35, py36, flake8
[testenv] [testenv]
commands = commands =
{envbindir}/py.test --cov=dosage --cov=dosagelib --tb=short -n4 \ {envbindir}/py.test --cov=dosagelib --tb=short -n4 \
--cov-report=xml:{toxworkdir}/cov-{envname}.xml --cov-report=term \ --cov-report=xml:{toxworkdir}/cov-{envname}.xml --cov-report=term \
--junitxml={toxworkdir}/junit-{envname}.xml {posargs} --junitxml={toxworkdir}/junit-{envname}.xml {posargs}