Exclude tests from coverage

Tests package should not be included
in the coverage results.

Change-Id: I4dbaba525d695a892ac769cc64dc06ddbf112c4e
This commit is contained in:
Tomasz Trębski 2017-08-02 22:09:33 +02:00
parent 6b6c4843ea
commit 51bb6b793b
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ basepython = python2.7
commands =
{[testenv]commands}
coverage erase
python setup.py test --coverage --testr-args='{posargs}' --coverage-package-name=monascaclient
python setup.py test --coverage --testr-args='{posargs}' --coverage-package-name=monascaclient --omit=monascaclient/tests/*
coverage report
[testenv:debug]