forked from TrueCloudLab/s3-tests
Merge pull request #7 from wyllys66/issue6
Fixed contentlength_negative tests to ignore the error_code Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
This commit is contained in:
commit
bb3dfd200a
1 changed files with 0 additions and 2 deletions
|
@ -299,7 +299,6 @@ def test_object_create_bad_contentlength_negative():
|
||||||
e = assert_raises(boto.exception.S3ResponseError, key.set_contents_from_string, 'bar')
|
e = assert_raises(boto.exception.S3ResponseError, key.set_contents_from_string, 'bar')
|
||||||
eq(e.status, 400)
|
eq(e.status, 400)
|
||||||
eq(e.reason, 'Bad Request')
|
eq(e.reason, 'Bad Request')
|
||||||
eq(e.error_code, None)
|
|
||||||
|
|
||||||
|
|
||||||
@attr(resource='object')
|
@attr(resource='object')
|
||||||
|
@ -736,7 +735,6 @@ def test_bucket_create_bad_contentlength_negative():
|
||||||
e = assert_raises(boto.exception.S3ResponseError, get_new_bucket)
|
e = assert_raises(boto.exception.S3ResponseError, get_new_bucket)
|
||||||
eq(e.status, 400)
|
eq(e.status, 400)
|
||||||
eq(e.reason, 'Bad Request')
|
eq(e.reason, 'Bad Request')
|
||||||
eq(e.error_code, None)
|
|
||||||
|
|
||||||
|
|
||||||
@attr(resource='bucket')
|
@attr(resource='bucket')
|
||||||
|
|
Loading…
Reference in a new issue