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
Reviewed: https:/ /review. openstack. org/301650 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=69700590db8 31dd1718ed3ed57 ca6ab9bd445728
Committed: https:/
Submitter: Jenkins
Branch: master
commit 69700590db831dd 1718ed3ed57ca6a b9bd445728
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 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 90fa65638af488f 88400dc02d2
Change-Id: Ia28952ecfeaa50