Fix tox env for coverage test

According to previous discussions on mailing list, we should use 'test'
instead of 'testr' for the coverage test. This patch also removes a
outdated path from coverage tests.

Change-Id: I959d44b96a19097411de68b1452850ddef8ea9dd
This commit is contained in:
tengqm 2016-03-14 10:43:03 -04:00
parent 2b9f9141c7
commit 0a273e3a9e
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
[run]
branch = True
source = senlin
omit = */tests/*,senlin/openstack/common/*
omit = */tests/*
[report]
ignore_errors = True

View File

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