]> git-server-git.apps.pok.os.sepia.ceph.com Git - s3-tests.git/commitdiff
Fixed contentlength_negative tests to ignore the error_code 7/head
authorWyllys Ingersoll <wyllys.ingersoll@evault.com>
Mon, 3 Jun 2013 19:07:21 +0000 (15:07 -0400)
committerWyllys Ingersoll <wyllys.ingersoll@evault.com>
Mon, 3 Jun 2013 19:07:21 +0000 (15:07 -0400)
s3tests/functional/test_headers.py

index 450716eeb622aad2f818f2340ba27bd62167b8a0..7eea63160104097df5534d4ad1dfaa2e5280c195 100644 (file)
@@ -299,7 +299,6 @@ def test_object_create_bad_contentlength_negative():
     e = assert_raises(boto.exception.S3ResponseError, key.set_contents_from_string, 'bar')
     eq(e.status, 400)
     eq(e.reason, 'Bad Request')
-    eq(e.error_code, None)
 
 
 @attr(resource='object')
@@ -736,7 +735,6 @@ def test_bucket_create_bad_contentlength_negative():
     e = assert_raises(boto.exception.S3ResponseError, get_new_bucket)
     eq(e.status, 400)
     eq(e.reason, 'Bad Request')
-    eq(e.error_code, None)
 
 
 @attr(resource='bucket')