Files
libra/tox.ini
David Shrewsbury dee4f4a06d Backport of multiple bug fixes.
This contains multiple bug fixes that could not be cherry-picked
individually due to a backward incompatible change in novaclient.
This contains the following commits:

 - 3323632 One place missed
 - de42ea8 Removed use of older-version response status checking
           from nova + mgm code, replaced with requests-bas
 - 739413f Re-enable pyflakes.
 - 8316e49 Fix tests directory for Debian packaging
 - cda6f89 Fixed minor typo in pool_mgm --help output

Change-Id: I41fadb7f908250262fe082ca39c47f409750909e
2013-03-06 09:05:58 -05:00

22 lines
614 B
INI

[tox]
envlist = py27,pep8,pyflakes
[testenv]
deps = -r{toxinidir}/tools/pip-requires
-r{toxinidir}/tools/test-requires
commands = bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi'
bash -c 'testr run --parallel {posargs} ; RET=$? ; echo "Slowest Tests" ; testr slowest && exit $RET'
[tox:jenkins]
downloadcache = ~/cache/pip
[testenv:py27]
[testenv:pep8]
deps = pep8
commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,*openstack/common*,*lib/python*,*egg libra setup.py
[testenv:pyflakes]
deps = pyflakes
commands = pyflakes libra/common libra/mgm libra/worker