Reviewed: https://review.openstack.org/300458 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=60aa0a18c69a2b004477689b519b780bdb81f2fb Submitter: Jenkins Branch: master
commit 60aa0a18c69a2b004477689b519b780bdb81f2fb Author: srushti <email address hidden> Date: Wed Mar 30 05:40:26 2016 +0000
Fix invalid uuid warnings
Currently, unit testcases of conductor, image and network 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: I93cd3782e5b40e381d15bacbe8720a8c4a3bef45
Reviewed: https:/ /review. openstack. org/300458 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=60aa0a18c69 a2b004477689b51 9b780bdb81f2fb
Committed: https:/
Submitter: Jenkins
Branch: master
commit 60aa0a18c69a2b0 04477689b519b78 0bdb81f2fb
Author: srushti <email address hidden>
Date: Wed Mar 30 05:40:26 2016 +0000
Fix invalid uuid warnings
Currently, unit testcases of conductor, image and network bjects about invalid
emit FutureWarnings from oslo.versionedo
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.versionedo bjects/ api/fields. html#oslo_ versionedobject s.fields. UUIDField
Partial-Bug: #1557378 381d15bacbe8720 a8c4a3bef45
Change-Id: I93cd3782e5b40e