![Frédéric Guillot](/assets/img/avatar_default.png)
- First functional test for the API endpoint /info - Move all unit tests to almanach.tests.unit like other OpenStack projects Change-Id: I8017aec28a060024f63bee59173b3c1df8879edb
28 lines
575 B
INI
28 lines
575 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
|