Merge "Clean up Glance image after sanity check"

This commit is contained in:
Jenkins 2016-07-29 12:17:04 +00:00 committed by Gerrit Code Review
commit 74ea96bacf
1 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,8 @@ class SanityChecks(object):
open("/tmp/blank.qcow2", 'a').close()
cloud.create_image("test", filename="/tmp/blank.qcow2",
disk_format="qcow2", container_format="bare")
testid = cloud.get_image_id("test")
cloud.delete_image(testid)
@staticmethod
def cinder(cloud):