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:
parent
2b9f9141c7
commit
0a273e3a9e
|
@ -1,7 +1,7 @@
|
||||||
[run]
|
[run]
|
||||||
branch = True
|
branch = True
|
||||||
source = senlin
|
source = senlin
|
||||||
omit = */tests/*,senlin/openstack/common/*
|
omit = */tests/*
|
||||||
|
|
||||||
[report]
|
[report]
|
||||||
ignore_errors = True
|
ignore_errors = True
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -58,7 +58,7 @@ commands = {posargs}
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
setenv = VIRTUAL_ENV={envdir}
|
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]
|
[testenv:docs]
|
||||||
deps = -r{toxinidir}/test-requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
|
|
Loading…
Reference in New Issue