mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-27 23:31:41 +00:00
remove unused variable
This commit is contained in:
parent
83830e2951
commit
e253e328a7
1 changed files with 2 additions and 3 deletions
|
@ -240,9 +240,8 @@ def test_bucket_delete_nonempty():
|
||||||
bucket = get_new_bucket()
|
bucket = get_new_bucket()
|
||||||
|
|
||||||
# fill up bucket
|
# fill up bucket
|
||||||
obj = bunch.Bunch()
|
key = bucket.new_key('foo')
|
||||||
obj.a = bucket.new_key('foo')
|
key.set_contents_from_string('foocontent')
|
||||||
obj.a.set_contents_from_string('foocontent')
|
|
||||||
|
|
||||||
# try to delete
|
# try to delete
|
||||||
e = assert_raises(boto.exception.S3ResponseError, bucket.delete)
|
e = assert_raises(boto.exception.S3ResponseError, bucket.delete)
|
||||||
|
|
Loading…
Reference in a new issue