summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorLuis Pabon <lpabon@redhat.com>2013-09-09 15:29:34 -0400
committerLuis Pabon <lpabon@redhat.com>2013-09-10 11:55:03 -0700
commit3609471ada59d1daca9b06b5b224a19908359973 (patch)
treec5fded905e6ed8a9184d62d1cff0c93e6a2514d5 /tox.ini
parente94cf06f870891177f45b64b32fa3b1050b26f1f (diff)
Tests should depend on PIP instead of Yum
Unit tests now use pip to install the desired version of pip. Functional tests have been changed to use pip instead of yum to install the desired version of pip. Change-Id: I4ccc743385fb4258549c115e575c8834fd4d0561 Signed-off-by: Luis Pabon <lpabon@redhat.com> Reviewed-on: http://review.gluster.org/5853 Reviewed-by: Peter Portante <pportant@redhat.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini6
1 files changed, 3 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index 7269319..7d0d3be 100644
--- a/tox.ini
+++ b/tox.ini
@@ -10,7 +10,7 @@ setenv = VIRTUAL_ENV={envdir}
NOSE_OPENSTACK_SHOW_ELAPSED=1
NOSE_OPENSTACK_STDOUT=1
deps =
- https://launchpad.net/swift/havana/1.9.1/+download/swift-1.9.1.tar.gz
+ --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 {posargs}
@@ -21,7 +21,7 @@ downloadcache = ~/cache/pip
[testenv:pep8]
changedir = {toxinidir}
commands =
- flake8 gluster test extras
+ flake8 gluster test
[testenv:cover]
setenv = NOSE_WITH_COVERAGE=1
@@ -32,5 +32,5 @@ commands = {posargs}
[flake8]
ignore = H
builtins = _
-exclude = .venv,.tox,dist,doc,test,*egg
+exclude = swiftkerbauth.py,.venv,.tox,dist,doc,test,*egg
show-source = True