Merge pull request #37 from andrewgaul/empty-content-length

Do not check error_code with empty content length

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
This commit is contained in:
Yehuda Sadeh 2015-02-27 10:38:21 -08:00
commit 1daa9ec8ec

View file

@ -745,7 +745,6 @@ def test_bucket_create_bad_contentlength_empty():
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')