
Change-Id: I840a379bce93df52e7725b87c6bd6ee95fcdbebd Signed-off-by: Peter Portante <peter.portante@redhat.com> Reviewed-on: http://review.gluster.org/5031 Reviewed-by: Luis Pabon <lpabon@redhat.com> Tested-by: Luis Pabon <lpabon@redhat.com>
26 lines
681 B
INI
26 lines
681 B
INI
[tox]
|
|
envlist = py26,py27
|
|
|
|
[testenv]
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
NOSE_WITH_OPENSTACK=1
|
|
NOSE_OPENSTACK_COLOR=1
|
|
NOSE_OPENSTACK_RED=0.05
|
|
NOSE_OPENSTACK_YELLOW=0.025
|
|
NOSE_OPENSTACK_SHOW_ELAPSED=1
|
|
NOSE_OPENSTACK_STDOUT=1
|
|
deps =
|
|
https://launchpad.net/swift/grizzly/1.8.0/+download/swift-1.8.0.tar.gz
|
|
-r{toxinidir}/tools/test-requires
|
|
changedir = {toxinidir}/test/unit
|
|
commands = nosetests -v --exe --with-xunit --with-coverage --cover-package gluster --cover-erase --cover-xml --cover-html {posargs}
|
|
|
|
[tox:jenkins]
|
|
downloadcache = ~/cache/pip
|
|
|
|
[testenv:cover]
|
|
setenv = NOSE_WITH_COVERAGE=1
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|