From 73a2f8fd7ffb58f697a3433a0b664395df6b4489 Mon Sep 17 00:00:00 2001 From: Stephon Striplin Date: Tue, 26 Jul 2011 19:59:41 -0700 Subject: [PATCH] add another Expect header test --- s3tests/functional/test_headers.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/s3tests/functional/test_headers.py b/s3tests/functional/test_headers.py index a0bc930..3450e03 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')