38d243f445
- This scenario test the creation of a new volume type. - Cinder was not sending notifications because the config file have to be changed. - Keystone authentication was broken, we are now using the v3 API. - Kombu released a breaking change, the global constraints have been updated: https://review.openstack.org/#/c/408643/ Change-Id: Ie6a50ff427b6402f0d023fe3468f3efac77a8fce
29 lines
621 B
INI
29 lines
621 B
INI
[tox]
|
|
envlist = py27,py34,py35,pep8
|
|
|
|
[testenv]
|
|
deps =
|
|
-r{toxinidir}/test-requirements.txt
|
|
-r{toxinidir}/requirements.txt
|
|
setenv =
|
|
PYTHONPATH = {toxinidir}
|
|
commands = nosetests --tests almanach.tests.unit
|
|
|
|
[testenv:genconfig]
|
|
commands = oslo-config-generator --namespace almanach --output-file=etc/almanach/almanach.conf
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:pep8]
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
commands = flake8 {posargs}
|
|
|
|
[testenv:docs]
|
|
commands = python setup.py build_sphinx --fresh-env
|
|
|
|
[flake8]
|
|
show-source = True
|
|
max-line-length = 120
|
|
exclude = .venv,.git,.tox,dist,doc,*egg,build
|