summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorThiago da Silva <thiago@redhat.com>2014-01-11 13:07:17 -0500
committerThiago da Silva <thiago@redhat.com>2014-01-14 16:12:20 -0500
commitf23af7ead83d249d52700e69bc906a04ec0920f9 (patch)
treea2a6909d12df27a9228979012179e5aebcafff6f /tox.ini
parentbd4e6c5dba99ec2dcb3675b4c1b3a9c4ae2ee9bf (diff)
unit tests
added unit tests for existing methods Change-Id: Iecd31bc1dea44ea38168120bd05ca505c4ff5c59 Signed-off-by: Thiago da Silva <thiago@redhat.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 657412f..8ee0066 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,6 +2,7 @@
envlist = py26,py27,pep8
[testenv]
+whitelist_externals=bash
setenv = VIRTUAL_ENV={envdir}
NOSE_WITH_OPENSTACK=1
NOSE_OPENSTACK_COLOR=1
@@ -9,6 +10,9 @@ setenv = VIRTUAL_ENV={envdir}
NOSE_OPENSTACK_YELLOW=0.025
NOSE_OPENSTACK_SHOW_ELAPSED=1
NOSE_OPENSTACK_STDOUT=1
+deps =
+ --download-cache={homedir}/.pipcache
+ -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 --cover-branches --with-html-output {posargs}