blob: 4a2f80e8726b931818332425a61d51d89c65013e [file] [log] [blame]
Jay Pipesa6aa5f22012-07-24 19:40:29 -04001[tox]
2envlist = pep8
3
4[testenv]
5setenv = VIRTUAL_ENV={envdir}
6 NOSE_WITH_OPENSTACK=1
7 NOSE_OPENSTACK_COLOR=1
8 NOSE_OPENSTACK_RED=15
9 NOSE_OPENSTACK_YELLOW=3
10 NOSE_OPENSTACK_SHOW_ELAPSED=1
11 NOSE_OPENSTACK_STDOUT=1
12deps = -r{toxinidir}/tools/pip-requires
13 -r{toxinidir}/tools/test-requires
14commands = nosetests {posargs}
15
Matthew Treinishd15705b2012-10-16 14:04:48 -040016[testenv:coverage]
Matthew Treinishabfa1492013-01-11 14:28:29 -050017commands = python -m tools/tempest_coverage -c start --combine
Matthew Treinishd15705b2012-10-16 14:04:48 -040018 nosetests {posargs}
Matthew Treinishabfa1492013-01-11 14:28:29 -050019 python -m tools/tempest_coverage -c report --html
Matthew Treinishd15705b2012-10-16 14:04:48 -040020
Jay Pipesa6aa5f22012-07-24 19:40:29 -040021[testenv:pep8]
Monty Taylorb2ca5ca2013-04-28 18:00:21 -070022commands = flake8
23
24[flake8]
25ignore = E125,H302,H404
26show-source = True
27exclude = .git,.venv,.tox,dist,doc,openstack,*egg