summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis Pabon <lpabon@redhat.com>2013-11-05 17:01:26 -0500
committerLuis Pabon <lpabon@redhat.com>2013-11-06 07:09:29 -0800
commitf64a3354185f32928e2568d9ece4a52fa4746c05 (patch)
treef89a5c804419b608f557b140a798f8506f11a47c
parent41261e3828f5102ae8d203a5b576b0001bdcc075 (diff)
Update to OpenStack Swift Havana
To update to Havana, we needed to change the return status of the unit tests to code 303 which means See Other Change-Id: I068fddae6e3f0f9d77c2eebd54fba1f91dfeb025 Signed-off-by: Luis Pabon <lpabon@redhat.com> Reviewed-on: http://review.gluster.org/6227 Reviewed-by: Prashanth Pai <ppai@redhat.com> Tested-by: Prashanth Pai <ppai@redhat.com>
-rw-r--r--test/unit/test_kerbauth.py2
-rw-r--r--tox.ini2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/test_kerbauth.py b/test/unit/test_kerbauth.py
index 95697a4..446abb8 100644
--- a/test/unit/test_kerbauth.py
+++ b/test/unit/test_kerbauth.py
@@ -21,7 +21,7 @@ from swiftkerbauth import kerbauth as auth
from swift.common.swob import Request, Response
EXT_AUTHENTICATION_URL = "127.0.0.1"
-REDIRECT_STATUS = 302
+REDIRECT_STATUS = 303 # HTTPSeeOther
def my_filter_factory(global_conf, **local_conf):
diff --git a/tox.ini b/tox.ini
index c06ab81..8586af2 100644
--- a/tox.ini
+++ b/tox.ini
@@ -11,7 +11,7 @@ setenv = VIRTUAL_ENV={envdir}
NOSE_OPENSTACK_STDOUT=1
deps =
--download-cache={homedir}/.pipcache
- https://launchpad.net/swift/havana/1.9.1/+download/swift-1.9.1.tar.gz
+ https://launchpad.net/gluster-swift/havana/1.10.0-0/+download/swift-1.10.0.tar.gz
-r{toxinidir}/test-requirements.txt
changedir = {toxinidir}/test/unit
commands = nosetests -v --exe --with-xunit --with-coverage --cover-package swiftkerbauth --cover-erase --cover-xml --cover-html --cover-branches {posargs}