mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-25 03:47:22 +00:00
Add teardown to common.
This commit is contained in:
parent
3ee10d3dbe
commit
262f1eecd1
1 changed files with 2 additions and 2 deletions
|
@ -157,6 +157,6 @@ def get_new_bucket(connection=None):
|
||||||
bucket = connection.create_bucket(name)
|
bucket = connection.create_bucket(name)
|
||||||
return bucket
|
return bucket
|
||||||
|
|
||||||
|
def teardown():
|
||||||
|
nuke_prefixed_buckets()
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
setup()
|
|
||||||
|
|
Loading…
Reference in a new issue