From: Stephon Striplin Date: Wed, 27 Jul 2011 02:59:41 +0000 (-0700) Subject: add another Expect header test X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=73a2f8fd7ffb58f697a3433a0b664395df6b4489;p=s3-tests.git add another Expect header test --- diff --git a/s3tests/functional/test_headers.py b/s3tests/functional/test_headers.py index a0bc9302..3450e03d 100644 --- a/s3tests/functional/test_headers.py +++ b/s3tests/functional/test_headers.py @@ -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')