Comment 19 for bug 1557378

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

Reviewed: https://review.openstack.org/300477
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=3e527265b6da73f73a669c88ae2239ed6bcf69b1
Submitter: Jenkins
Branch: master

commit 3e527265b6da73f73a669c88ae2239ed6bcf69b1
Author: srushti <email address hidden>
Date: Thu Mar 24 06:38:06 2016 +0000

    Fix invalid uuid warnings in api testcases

    Currently, unit testcases of 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.

    Made changes to project_id in fakes.py to use valid project_id
    which removes warnings related to invalid uuids in testcases.

    Also made changes to project_id in JSON headers to use valid
    uuids in functional testcases same as that in unit testcases.

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

    Partial-Bug: #1557378
    Change-Id: I5f69a2c3dc4d0279aed11750e6758b624debb64f