From ade49565db603434050e500e4cf83f55c97cdf5c Mon Sep 17 00:00:00 2001 From: Stephon Striplin Date: Wed, 27 Jul 2011 11:48:49 -0700 Subject: [PATCH] change utf8 -> unreadable on header tests --- s3tests/functional/test_headers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/s3tests/functional/test_headers.py b/s3tests/functional/test_headers.py index 659059b..e9a3a42 100644 --- a/s3tests/functional/test_headers.py +++ b/s3tests/functional/test_headers.py @@ -177,7 +177,7 @@ def test_object_create_bad_expect_none(): # this is a really long test.. @nose.with_setup(teardown=_clear_custom_headers) @attr('fails_on_dho') -def test_object_create_bad_expect_utf8(): +def test_object_create_bad_expect_unreadable(): key = _setup_bad_object({'Expect': '\x07'}) key.set_contents_from_string('bar') @@ -227,7 +227,7 @@ def test_object_create_bad_contentlength_none(): @nose.with_setup(teardown=_clear_custom_headers) @attr('fails_on_dho') -def test_object_create_bad_contentlength_utf8(): +def test_object_create_bad_contentlength_unreadable(): key = _setup_bad_object({'Content-Length': '\x07'}) e = assert_raises(boto.exception.S3ResponseError, key.set_contents_from_string, 'bar')