Moves coverage report generation to pytest from nosetests

Adds pytest-cov to requirements
This commit is contained in:
Nabarun Pal 2019-10-06 09:21:22 +05:30
parent 2dfb303553
commit 064b80e0cd
No known key found for this signature in database
GPG Key ID: 611D5079D826B150
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 =