Comment 37 for bug 1557378

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

Reviewed: https://review.openstack.org/302655
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=7c10322b1738da90ecd3687dd49277f9e18a18e5
Submitter: Jenkins
Branch: master

commit 7c10322b1738da90ecd3687dd49277f9e18a18e5
Author: srushti <email address hidden>
Date: Wed Apr 6 05:46:56 2016 +0000

    Fix invalid uuid warnings in virt testcases

    Currently, unit testcases of virt 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: If69412eddb5e64cb8ccc5dce9176d19382c0b3f1