def test_before_and_after(storage: object): assert storage.bucket_name manage.ensure_storage(storage) yield manage.drop_storage(storage, force=True)
def drop_storage(alias: str, force: bool): """Drops a storage. The storage must be empty.""" manage.drop_storage(storages.storage(alias), force=force)
def test_before_and_after(storage: object): manage.ensure_storage(storage) yield manage.drop_storage(storage, force=True)