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
Reviewed: https:/ /review. openstack. org/302655 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=7c10322b173 8da90ecd3687dd4 9277f9e18a18e5
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7c10322b1738da9 0ecd3687dd49277 f9e18a18e5
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 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 cb8ccc5dce9176d 19382c0b3f1
Change-Id: If69412eddb5e64