Fix tox environment for coverage test

It turned out that the 'coverage' test needs to include the unit test
subdir, or else the coverage statistic is incorrect.

Change-Id: I1b45fe9fdcd985365d367d6a0340c71f761d538b
This commit is contained in:
tengqm 2015-08-10 09:39:29 -04:00
parent 2bd45c328c
commit 080c4264bf

View File

@ -34,7 +34,7 @@ commands = {posargs}
[testenv:cover]
setenv = VIRTUAL_ENV={envdir}
commands = python setup.py testr --coverage --testr-args="^(?!senlin\.tests){posargs}"
commands = python setup.py testr --coverage --testr-args="^(?!senlin\.tests\.functional){posargs}"
[testenv:docs]
deps = -r{toxinidir}/test-requirements.txt