Reviewed: https://review.openstack.org/293840 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=50354963cecbfe5a6231afc7fc09fe236c64d4d8 Submitter: Jenkins Branch: master
commit 50354963cecbfe5a6231afc7fc09fe236c64d4d8 Author: srushti <email address hidden> Date: Tue Apr 12 10:50:16 2016 +0000
Fix invalid uuid warnings in server-group unit tests
Currently, testcases of server-group 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: If2b2976ee339431cf5c32df88ad713ab2b6cd880
Reviewed: https:/ /review. openstack. org/293840 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=50354963cec bfe5a6231afc7fc 09fe236c64d4d8
Committed: https:/
Submitter: Jenkins
Branch: master
commit 50354963cecbfe5 a6231afc7fc09fe 236c64d4d8
Author: srushti <email address hidden>
Date: Tue Apr 12 10:50:16 2016 +0000
Fix invalid uuid warnings in server-group unit tests
Currently, testcases of server-group 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 1cf5c32df88ad71 3ab2b6cd880
Change-Id: If2b2976ee33943