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
Reviewed: https:/ /review. openstack. org/300453 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=09b7c7b9336 732a34d3273a917 bcdda288645220
Committed: https:/
Submitter: Jenkins
Branch: master
commit 09b7c7b9336732a 34d3273a917bcdd a288645220
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 bjects about invalid uuids as documented here[1].
from oslo.versionedo
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.versionedo bjects/ api/fields. html#oslo_ versionedobject s.fields. UUIDField
Partial-Bug: #1557378 d7d80f6cf1b6bb2 3902f5c6f35
Change-Id: I71ae53edd183a9