mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-21 23:29:47 +00:00
Switch test_object_create_unreadable to use '\n' instead of '\a'.
This avoids a SAX/boto interaction bug that is not of much interest, yet still seems "evil" enough that it fulfills the original intent of the test. Add a link to the relevant bug report.
This commit is contained in:
parent
48e078a758
commit
ce3d448d64
1 changed files with 2 additions and 1 deletions
|
@ -537,9 +537,10 @@ def test_object_read_notexist():
|
|||
|
||||
# While the test itself passes, there's a SAX parser error during teardown. It
|
||||
# seems to be a boto bug. It happens with both amazon and dho.
|
||||
# http://code.google.com/p/boto/issues/detail?id=501
|
||||
def test_object_create_unreadable():
|
||||
bucket = get_new_bucket()
|
||||
key = bucket.new_key('\x07')
|
||||
key = bucket.new_key('\x0a')
|
||||
key.set_contents_from_string('bar')
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue