]> git-server-git.apps.pok.os.sepia.ceph.com Git - s3-tests.git/commitdiff
add another Expect header test
authorStephon Striplin <stephon.striplin@dreamhost.com>
Wed, 27 Jul 2011 02:59:41 +0000 (19:59 -0700)
committerStephon Striplin <stephon.striplin@dreamhost.com>
Wed, 27 Jul 2011 17:29:37 +0000 (10:29 -0700)
s3tests/functional/test_headers.py

index a0bc9302f2758c73399c16f122e20ff2a1677569..3450e03ddbc24749284d5e3049f4a49f1e5d4d7c 100644 (file)
@@ -168,6 +168,12 @@ def test_object_create_bad_expect_empty():
     key.set_contents_from_string('bar')
 
 
+@nose.with_setup(teardown=_clear_custom_headers)
+def test_object_create_bad_expect_none():
+    key = _setup_bad_object(remove=('Expect',))
+    key.set_contents_from_string('bar')
+
+
 # this is a really long test..
 @nose.with_setup(teardown=_clear_custom_headers)
 @attr('fails_on_dho')