blob: 4a2f80e8726b931818332425a61d51d89c65013e [file] [log] [blame]
[tox]
envlist = pep8
[testenv]
setenv = VIRTUAL_ENV={envdir}
NOSE_WITH_OPENSTACK=1
NOSE_OPENSTACK_COLOR=1
NOSE_OPENSTACK_RED=15
NOSE_OPENSTACK_YELLOW=3
NOSE_OPENSTACK_SHOW_ELAPSED=1
NOSE_OPENSTACK_STDOUT=1
deps = -r{toxinidir}/tools/pip-requires
-r{toxinidir}/tools/test-requires
commands = nosetests {posargs}
[testenv:coverage]
commands = python -m tools/tempest_coverage -c start --combine
nosetests {posargs}
python -m tools/tempest_coverage -c report --html
[testenv:pep8]
commands = flake8
[flake8]
ignore = E125,H302,H404
show-source = True
exclude = .git,.venv,.tox,dist,doc,openstack,*egg