Use nosetests for coverage in tox.ini

I can't seem to figure out how to have testr and coverage working
properly without pbr so let's use nosetests for it.

Change-Id: Id0f2fc348dc822af9189178b518d2dda711b060c
This commit is contained in:
Chmouel Boudjnah 2013-11-26 22:16:56 +01:00
parent b207aaca07
commit 730883957d
1 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,8 @@ commands =
commands = {posargs}
[testenv:cover]
commands = python setup.py testr --coverage
setenv = NOSE_WITH_COVERAGE=1
commands = nosetests {posargs}
[tox:jenkins]
downloadcache = ~/cache/pip