Comment 22 for bug 1557378

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

Reviewed: https://review.openstack.org/301650
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=69700590db831dd1718ed3ed57ca6ab9bd445728
Submitter: Jenkins
Branch: master

commit 69700590db831dd1718ed3ed57ca6ab9bd445728
Author: srushti <email address hidden>
Date: Wed Apr 13 09:42:12 2016 +0000

    Fix invalid uuid warnings in objects testcases

    Currently, unit testcases of objects 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: Ia28952ecfeaa5090fa65638af488f88400dc02d2