def get_test_image_info(context, instance_ref):
    if (not context):
        context = get_test_admin_context()
    image_ref = instance_ref['image_ref']
    (image_service, image_id) = glance.get_remote_image_service(context, image_ref)
    return image_service.show(context, image_id)
def get_test_image_info(context, instance_ref):
    if (not context):
        context = get_test_admin_context()
    image_ref = instance_ref['image_ref']
    (image_service, image_id) = glance.get_remote_image_service(context, image_ref)
    return image_service.show(context, image_id)