mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-28 19:31:39 +00:00
add test_object_create_unreadable
This commit is contained in:
parent
9b3cdf753f
commit
ee28900620
1 changed files with 8 additions and 0 deletions
|
@ -125,6 +125,14 @@ def test_object_read_notexist():
|
||||||
eq(e.error_code, 'NoSuchKey')
|
eq(e.error_code, 'NoSuchKey')
|
||||||
|
|
||||||
|
|
||||||
|
# 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.
|
||||||
|
def test_object_create_unreadable():
|
||||||
|
bucket = get_new_bucket()
|
||||||
|
key = bucket.new_key('\x07')
|
||||||
|
key.set_contents_from_string('bar')
|
||||||
|
|
||||||
|
|
||||||
# This should test the basic lifecycle of the key
|
# This should test the basic lifecycle of the key
|
||||||
def test_object_write_read_update_read_delete():
|
def test_object_write_read_update_read_delete():
|
||||||
bucket = get_new_bucket()
|
bucket = get_new_bucket()
|
||||||
|
|
Loading…
Reference in a new issue