Comment 24 for bug 1557378

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/300453
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=09b7c7b9336732a34d3273a917bcdda288645220
Submitter: Jenkins
Branch: master

commit 09b7c7b9336732a34d3273a917bcdda288645220
Author: srushti <email address hidden>
Date: Tue Mar 29 12:48:19 2016 +0000

    Fix invalid uuid warnings in compute api testcases

    Currently, unit testcases of compute api emit FutureWarnings
    from oslo.versionedobjects about invalid uuids as documented here[1].

    This commit changes these tests to use valid uuids so
    that when they are run these warnings are no longer emitted.

    Fake constants are defined for project_id and user_id as they
    are used without '-' at keystone side.

    [1] http://docs.openstack.org/developer/oslo.versionedobjects/api/fields.html#oslo_versionedobjects.fields.UUIDField

    Partial-Bug: #1557378
    Change-Id: I71ae53edd183a9d7d80f6cf1b6bb23902f5c6f35