'Tests that image metadata is deleted properly'

def test_delete_image(self):

    orig_num_images = len(self.client.get_images())
    image = self.FIXTURES[1]
    deleted_image = self.client.delete_image(image['id'])
    self.assertTrue(deleted_image)
    self.assertEqual(image['id'], deleted_image['id'])
    self.assertTrue(deleted_image['deleted'])
    self.assertTrue(deleted_image['deleted_at'])
    new_num_images = len(self.client.get_images())
    self.assertEqual((orig_num_images - 1), new_num_images)
