'Tests proper exception is raised if attempt to update
non-existing image'

def test_update_image_not_existing(self):

    fixture = {'status': 'killed'}
    body = jsonutils.dump_as_bytes(dict(image=fixture))
    self.get_api_response_ext(http.NOT_FOUND, url=('/images/%s' % _gen_uuid()), method='PUT', body=body, content_type='json')
