From 04e402599b7b01c0a98df4724618555ab53cb775 Mon Sep 17 00:00:00 2001 From: Peter Portante Date: Thu, 24 Oct 2013 22:04:40 -0400 Subject: Sync functional tests with Swift v1.9.1 Change-Id: Id478f651fe937883837291059da9da853fcd2de2 Signed-off-by: Peter Portante Reviewed-on: http://review.gluster.org/6141 Reviewed-by: Luis Pabon Tested-by: Luis Pabon --- test/functionalnosetests/swift_testing.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'test/functionalnosetests/swift_testing.py') diff --git a/test/functionalnosetests/swift_testing.py b/test/functionalnosetests/swift_testing.py index ef4005e..c49d9cd 100644 --- a/test/functionalnosetests/swift_testing.py +++ b/test/functionalnosetests/swift_testing.py @@ -28,13 +28,10 @@ # See the License for the specific language governing permissions and # limitations under the License. -import errno import os import socket import sys from time import sleep -from nose import SkipTest -from ConfigParser import MissingSectionHeaderError from test import get_config @@ -168,10 +165,10 @@ def retry(func, *args, **kwargs): if attempts > retries: raise parsed[use_account] = conn[use_account] = None - except AuthError, err: + except AuthError: url[use_account] = token[use_account] = None continue - except InternalServerError, err: + except InternalServerError: pass if attempts <= retries: sleep(backoff) -- cgit