]> git-server-git.apps.pok.os.sepia.ceph.com Git - s3-tests.git/commitdiff
Do not check error_code with empty content length 37/head
authorAndrew Gaul <andrew@gaul.org>
Tue, 6 Jan 2015 21:53:26 +0000 (13:53 -0800)
committerAndrew Gaul <andrew@gaul.org>
Tue, 6 Jan 2015 21:54:15 +0000 (13:54 -0800)
This matches test_bucket_create_bad_contentlength_negative.

s3tests/functional/test_headers.py

index cedee67de8f0b48c15eb5246fbd262c98a293647..e7be405cc9f308533c1be9f7c637c534c0a5dd15 100644 (file)
@@ -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')