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/test_object.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'test/functionalnosetests/test_object.py') diff --git a/test/functionalnosetests/test_object.py b/test/functionalnosetests/test_object.py index 9c7f9c5..3972aaf 100755 --- a/test/functionalnosetests/test_object.py +++ b/test/functionalnosetests/test_object.py @@ -34,12 +34,8 @@ import unittest from nose import SkipTest from uuid import uuid4 -from swift.common.constraints import MAX_META_COUNT, MAX_META_NAME_LENGTH, \ - MAX_META_OVERALL_SIZE, MAX_META_VALUE_LENGTH - from swift_testing import check_response, retry, skip, skip3, \ swift_test_perm, web_front_end -from test import get_config class TestObject(unittest.TestCase): @@ -127,7 +123,7 @@ class TestObject(unittest.TestCase): 'X-Copy-From': source}) return check_response(conn) resp = retry(put) - contents = resp.read() + resp.read() self.assertEquals(resp.status, 201) # contents of dest should be the same as source @@ -161,7 +157,7 @@ class TestObject(unittest.TestCase): 'Destination': dest}) return check_response(conn) resp = retry(copy) - contents = resp.read() + resp.read() self.assertEquals(resp.status, 201) # contents of dest should be the same as source -- cgit