Comment 21 for bug 1557378

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

Reviewed: https://review.openstack.org/293840
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=50354963cecbfe5a6231afc7fc09fe236c64d4d8
Submitter: Jenkins
Branch: master

commit 50354963cecbfe5a6231afc7fc09fe236c64d4d8
Author: srushti <email address hidden>
Date: Tue Apr 12 10:50:16 2016 +0000

    Fix invalid uuid warnings in server-group unit tests

    Currently, testcases of server-group 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: If2b2976ee339431cf5c32df88ad713ab2b6cd880