From: Tommi Virtanen Date: Thu, 11 Aug 2011 16:30:26 +0000 (-0700) Subject: Switch test_object_create_unreadable to use '\n' instead of '\a'. X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ce3d448d64aeb3228305863b4b2d35dd8f2aaec6;p=s3-tests.git 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. --- diff --git a/s3tests/functional/test_s3.py b/s3tests/functional/test_s3.py index 6cce6405..15d2ed84 100644 --- a/s3tests/functional/test_s3.py +++ b/s3tests/functional/test_s3.py @@ -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')