Merge "Missing image-del func in test_create_delete_image"
diff --git a/tempest/tests/compute/images/test_images_oneserver.py b/tempest/tests/compute/images/test_images_oneserver.py
index 7d4cefe..dfc16f4 100644
--- a/tempest/tests/compute/images/test_images_oneserver.py
+++ b/tempest/tests/compute/images/test_images_oneserver.py
@@ -128,6 +128,11 @@
self.assertEqual(original_image['minRam'], image['minRam'])
self.assertEqual(original_image['minDisk'], image['minDisk'])
+ # Verify the image was deleted correctly
+ resp, body = self.client.delete_image(image_id)
+ self.assertEqual('204', resp['status'])
+ self.assertRaises(exceptions.NotFound, self.client.get_image, image_id)
+
@attr(type='negative')
@testtools.skipUnless(compute.MULTI_USER,
'Need multiple users for this test.')