deb-python-cinderclient/tox.ini
Monty Taylor 02eb985124 Move from nose to testr.
Granted - this takes the test suite from 3 seconds to 1 second... but there
are a bunch of other ways (correctness) that testr is better than nose.

Removed tests/v1/utils - it was not being used anywhere.

Part of blueprint grizzly-testtools.

Change-Id: I54d9a0b7dc22305ec60d779d6f19025a0b5dc785
2013-01-17 14:42:52 -05:00

26 lines
538 B
INI

[tox]
envlist = py26,py27,pep8
[testenv]
setenv = VIRTUAL_ENV={envdir}
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=C
deps = -r{toxinidir}/tools/pip-requires
-r{toxinidir}/tools/test-requires
commands = python setup.py testr --testr-args='{posargs}'
[testenv:pep8]
deps = pep8
commands = pep8 --repeat --show-source cinderclient setup.py
[testenv:venv]
commands = {posargs}
[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'
[tox:jenkins]
downloadcache = ~/cache/pip