'Tests that the /images/<id> registry API endpoint
returns the expected image'

def test_show(self):

    fixture = {'id': UUID2, 'name': 'fake    image    #2', 'size': 19, 'min_ram': 256, 'min_disk': 5, 'checksum': None}
    res = self.get_api_response_ext(http.OK, ('/images/%s' % UUID2))
    res_dict = jsonutils.loads(res.body)
    image = res_dict['image']
    for (k, v) in six.iteritems(fixture):
        self.assertEqual(v, image[k])
