From: Wyllys Ingersoll Date: Mon, 3 Jun 2013 19:07:21 +0000 (-0400) Subject: Fixed contentlength_negative tests to ignore the error_code X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F7%2Fhead;p=s3-tests.git Fixed contentlength_negative tests to ignore the error_code --- diff --git a/s3tests/functional/test_headers.py b/s3tests/functional/test_headers.py index 450716ee..7eea6316 100644 --- a/s3tests/functional/test_headers.py +++ b/s3tests/functional/test_headers.py @@ -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')