summaryrefslogtreecommitdiffstats
path: root/test/functionalnosetests/test_object.py
diff options
context:
space:
mode:
authorPeter Portante <peter.portante@redhat.com>2013-10-24 22:04:40 -0400
committerLuis Pabon <lpabon@redhat.com>2013-10-25 10:57:40 -0700
commit04e402599b7b01c0a98df4724618555ab53cb775 (patch)
tree591827e1d367202105be2463c5858666ad6827a0 /test/functionalnosetests/test_object.py
parentb48149a4af9bc2c5de14a4f479bc7b11938bcf94 (diff)
Sync functional tests with Swift v1.9.1
Change-Id: Id478f651fe937883837291059da9da853fcd2de2 Signed-off-by: Peter Portante <peter.portante@redhat.com> Reviewed-on: http://review.gluster.org/6141 Reviewed-by: Luis Pabon <lpabon@redhat.com> Tested-by: Luis Pabon <lpabon@redhat.com>
Diffstat (limited to 'test/functionalnosetests/test_object.py')
-rwxr-xr-xtest/functionalnosetests/test_object.py8
1 files changed, 2 insertions, 6 deletions
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