Merge "Add in tox -s cover support"

This commit is contained in:
Jenkins 2017-03-02 09:42:28 +00:00 committed by Gerrit Code Review
commit 0e9c81922e
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,9 @@
[run]
branch = True
source = vmware_nsxlib
omit = vmware_nsxlib/tests/*
[report]
ignore_errors = True
[report]
ignore_errors = True

View File

@ -69,9 +69,8 @@ deps = -r{toxinidir}/test-requirements.txt
commands = bandit -r vmware_nsxlib -n 5 -ll
[testenv:cover]
basepython = python2.7
commands =
python setup.py testr --coverage --testr-args='{posargs}'
python setup.py test --coverage --coverage-package-name=vmware_nsxlib --testr-args='{posargs}'
coverage report
[testenv:venv]