Merge pull request #978 from palnabarun/coverage-pytest-port

Port coverage report generation to pytest
This commit is contained in:
Kubernetes Prow Robot 2019-10-16 09:45:31 -07:00 committed by GitHub
commit 9c205e6147
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
coverage>=4.0.3
nose>=1.3.7
pytest
pytest-cov
pluggy>=0.3.1
py>=1.4.31
randomize>=0.13

View File

@ -42,7 +42,7 @@ commands =
[testenv:coverage]
commands =
python -V
nosetests --with-coverage --cover-package=kubernetes.config,kubernetes.watch --cover-tests
pytest --cov=kubernetes/watch --cov=kubernetes/config kubernetes/watch kubernetes/config
[testenv:codecov]
commands =