Add coverage threshold

Copied from neutron change [1] via networking-midonet.

The threshold value is a bit arbitrarily chosen, considering
the current coverage which is about 51%.

[1] Ia30116fff8b834486bde93c329543fce15be429f

Change-Id: Id7478534553e072b6c500540481ebf220a30c0d5
This commit is contained in:
YAMAMOTO Takashi 2017-08-07 08:41:01 +09:00
parent 7b02840644
commit a9f4eb45e5

View File

@ -33,7 +33,7 @@ commands = {posargs}
basepython = python2.7
commands =
python setup.py test --coverage --coverage-package-name=neutron_taas --testr-args='{posargs}'
coverage report
coverage report --fail-under=50 --skip-covered
[testenv:docs]