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: -3323632One place missed -de42ea8Removed use of older-version response status checking from nova + mgm code, replaced with requests-bas -739413fRe-enable pyflakes. -8316e49Fix tests directory for Debian packaging -cda6f89Fixed minor typo in pool_mgm --help output Change-Id: I41fadb7f908250262fe082ca39c47f409750909e
22 lines
614 B
INI
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
|