nova/nova/tests
srushti 09b7c7b933 Fix invalid uuid warnings in compute api testcases
Currently, unit testcases of compute 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: I71ae53edd183a9d7d80f6cf1b6bb23902f5c6f35
2016-04-25 10:54:44 +00:00
..
functional Merge "Add functional test for v2.7" 2016-04-21 13:27:34 +00:00
live_migration/hooks Ceph for live-migration job 2016-01-22 16:27:58 +03:00
unit Fix invalid uuid warnings in compute api testcases 2016-04-25 10:54:44 +00:00
__init__.py
fixtures.py Add AllServicesCurrent fixture 2016-04-12 11:11:15 -07:00
uuidsentinel.py Add uuidsentinel test module 2015-12-14 11:28:55 +01:00