diff --git a/tox.ini b/tox.ini index dd97529..6c758fa 100644 --- a/tox.ini +++ b/tox.ini @@ -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