forked from TrueCloudLab/s3-tests
change utf8 -> unreadable on header tests
This commit is contained in:
parent
561dbe8f0b
commit
ade49565db
1 changed files with 2 additions and 2 deletions
|
@ -177,7 +177,7 @@ def test_object_create_bad_expect_none():
|
||||||
# this is a really long test..
|
# this is a really long test..
|
||||||
@nose.with_setup(teardown=_clear_custom_headers)
|
@nose.with_setup(teardown=_clear_custom_headers)
|
||||||
@attr('fails_on_dho')
|
@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 = _setup_bad_object({'Expect': '\x07'})
|
||||||
key.set_contents_from_string('bar')
|
key.set_contents_from_string('bar')
|
||||||
|
|
||||||
|
@ -227,7 +227,7 @@ def test_object_create_bad_contentlength_none():
|
||||||
|
|
||||||
@nose.with_setup(teardown=_clear_custom_headers)
|
@nose.with_setup(teardown=_clear_custom_headers)
|
||||||
@attr('fails_on_dho')
|
@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'})
|
key = _setup_bad_object({'Content-Length': '\x07'})
|
||||||
|
|
||||||
e = assert_raises(boto.exception.S3ResponseError, key.set_contents_from_string, 'bar')
|
e = assert_raises(boto.exception.S3ResponseError, key.set_contents_from_string, 'bar')
|
||||||
|
|
Loading…
Reference in a new issue