Cleanup tox / test deps

Change-Id: I4f18d98b71a18b7a314d52db8ff31bdef16ba2f1
This commit is contained in:
Kiall Mac Innes 2012-11-18 03:03:58 +00:00
parent 8f447d91dc
commit ceebf859eb
2 changed files with 7 additions and 4 deletions

View File

@ -1,9 +1,7 @@
unittest2
nose
nosexcover
openstack.nose_plugin
nosehtmloutput
mox
coverage
sphinx
sphinxcontrib-httpdomain

View File

@ -15,13 +15,15 @@ setenv = VIRTUAL_ENV={envdir}
NOSE_OPENSTACK_RED=0.05
NOSE_OPENSTACK_YELLOW=0.025
NOSE_OPENSTACK_SHOW_ELAPSED=1
commands = nosetests --no-path-adjustment []
commands = nosetests {posargs}
sitepackages = False
[testenv:cover]
deps = {[testenv]deps}
coverage
commands = nosetests --no-path-adjustment --with-coverage --cover-erase --cover-package=moniker --cover-inclusive []
nosexcover
setenv = {[testenv]setenv}
NOSE_WITH_COVERAGE=1
[testenv:pep8]
deps = {[testenv]deps}
@ -32,3 +34,6 @@ commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,openstack m
deps = {[testenv]deps}
pyflakes==0.5.0
commands = pyflakes moniker bin setup.py
[testenv:venv]
commands = {posargs}