mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-24 09:30:38 +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()
|
||||
|
||||
# fill up bucket
|
||||
obj = bunch.Bunch()
|
||||
obj.a = bucket.new_key('foo')
|
||||
obj.a.set_contents_from_string('foocontent')
|
||||
key = bucket.new_key('foo')
|
||||
key.set_contents_from_string('foocontent')
|
||||
|
||||
# try to delete
|
||||
e = assert_raises(boto.exception.S3ResponseError, bucket.delete)
|
||||
|
|
Loading…
Reference in a new issue