From f64a3354185f32928e2568d9ece4a52fa4746c05 Mon Sep 17 00:00:00 2001 From: Luis Pabon Date: Tue, 5 Nov 2013 17:01:26 -0500 Subject: 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 Reviewed-on: http://review.gluster.org/6227 Reviewed-by: Prashanth Pai Tested-by: Prashanth Pai --- test/unit/test_kerbauth.py | 2 +- tox.ini | 2 +- 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} -- cgit