From c280ade220905664d8ba4b897ee804cfa230907a Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Tue, 6 Jan 2015 13:53:26 -0800 Subject: [PATCH] Do not check error_code with empty content length This matches test_bucket_create_bad_contentlength_negative. --- s3tests/functional/test_headers.py | 1 - 1 file changed, 1 deletion(-) diff --git a/s3tests/functional/test_headers.py b/s3tests/functional/test_headers.py index cedee67..e7be405 100644 --- a/s3tests/functional/test_headers.py +++ b/s3tests/functional/test_headers.py @@ -722,7 +722,6 @@ def test_bucket_create_bad_contentlength_empty(): eq(e.status, 400) eq(e.reason, 'Bad Request') - eq(e.error_code, None) @attr(resource='bucket')