From: Stephon Striplin Date: Wed, 27 Jul 2011 18:48:49 +0000 (-0700) Subject: change utf8 -> unreadable on header tests X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ade49565db603434050e500e4cf83f55c97cdf5c;p=s3-tests.git change utf8 -> unreadable on header tests --- diff --git a/s3tests/functional/test_headers.py b/s3tests/functional/test_headers.py index 659059bc..e9a3a420 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')