'Tests that the /images PUT registry API updates the image'

def test_update_image_public(self):

    fixture = {'name': 'fake    public    image    #2', 'is_public': True, 'disk_format': 'vmdk'}
    self.assertTrue(self.client.update_image(UUID2, fixture))
    data = self.client.get_image(UUID2)
    for (k, v) in fixture.items():
        self.assertEqual(v, data[k])
