Cleanup tox / test deps
Change-Id: I4f18d98b71a18b7a314d52db8ff31bdef16ba2f1
This commit is contained in:
parent
8f447d91dc
commit
ceebf859eb
@ -1,9 +1,7 @@
|
||||
unittest2
|
||||
nose
|
||||
nosexcover
|
||||
openstack.nose_plugin
|
||||
nosehtmloutput
|
||||
mox
|
||||
coverage
|
||||
sphinx
|
||||
sphinxcontrib-httpdomain
|
||||
|
9
tox.ini
9
tox.ini
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user