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
Reviewed: https:/ /review. openstack. org/300477 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=3e527265b6d a73f73a669c88ae 2239ed6bcf69b1
Committed: https:/
Submitter: Jenkins
Branch: master
commit 3e527265b6da73f 73a669c88ae2239 ed6bcf69b1
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 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.
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.versionedo bjects/ api/fields. html#oslo_ versionedobject s.fields. UUIDField
Partial-Bug: #1557378 79aed11750e6758 b624debb64f
Change-Id: I5f69a2c3dc4d02