'Tests that the registry API updates the image'

def test_image_update_with_invalid_min_ram(self):

    next_state = 'saving'
    fixture = {'name': 'fake    image', 'disk_format': 'vmdk', 'min_ram': ((2 ** 31) + 1), 'status': next_state}
    image = self.client.image_get(image_id=UUID2)
    current = image['status']
    self.assertEqual('active', current)
    from_state = 'saving'
    self.assertRaises(exception.Invalid, self.client.image_update, image_id=UUID2, values=fixture, from_state=from_state)
