Files
tempest/tox.ini
T
afazekas 4d1bee8d11 Use the same style checking everywhere
Both the run_tests.sh and tox.ini using the same check_source.sh for
style and basic lint testing.

Adding a pyflakes based unused import test.

Removing 2 unused imports from
tempest/tests/network/test_network_basic_ops.py.

Change-Id: I5b4c8b945495751ac68fc64ed5ebf1cf441a5a31
2013-03-26 15:47:03 +01:00

23 lines
602 B
INI

[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 = bash tools/check_source.sh