Fix code coverage for pecan tests
This commit is contained in:
parent
4cf2c37ae1
commit
98a89b808b
6
tox.ini
6
tox.ini
@ -118,9 +118,13 @@ deps=
|
|||||||
coverage
|
coverage
|
||||||
simplejson
|
simplejson
|
||||||
pecan
|
pecan
|
||||||
|
setenv=
|
||||||
|
PYTHONPATH={toxinidir}
|
||||||
|
COVERAGE_FILE=.coverage.{envname}
|
||||||
|
|
||||||
commands=
|
commands=
|
||||||
{envbindir}/coverage run --source wsme {envbindir}/nosetests -w tests/pecantest test/tests/test_ws.py --with-xunit --xunit-file nosetests-{envname}.xml --verbose {posargs}
|
{envbindir}/coverage run --source wsme {envbindir}/nosetests -w tests/pecantest test/tests/test_ws.py --with-xunit --xunit-file nosetests-{envname}.xml --verbose {posargs}
|
||||||
{envbindir}/coverage xml -o coverage-{envname}.xml wsme/*.py wsme/rest/*.py
|
{envbindir}/coverage xml -o coverage-{envname}.xml
|
||||||
{envbindir}/coverage report --show-missing wsme/*.py wsme/rest/*.py
|
{envbindir}/coverage report --show-missing wsme/*.py wsme/rest/*.py
|
||||||
|
|
||||||
[testenv:coverage]
|
[testenv:coverage]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user