nova/nova/tests/functional/db
Chris Dent 995d283e4f [placement] Stringify class and provider uuid in error
When attempting to make an allocation of a particular class of
resource against a resource provider which has no inventory for that
class, an InvalidInventory exception is raised. This was workign
okay but the associated message was displaying stringified sets
of resource class ids, and not the resource classes names.

This changes joins the sets into strings for both resource classes
and provider uuids and turns the class indexes into their names.
A functional test which was checking for the exception has been
updated to also check the exception's message.

Change-Id: Ife38220da1069ffb6da26a4f8e3b954f0dc12f13
Closes-Bug: #1620748
2016-09-20 14:36:37 +00:00
..
api Increase BDM column in build_requests table 2016-09-08 20:22:20 -04:00
__init__.py Add second migrate_repo for cells v2 database migrations 2015-03-03 15:41:40 -05:00
test_aggregate.py Address feedback on cell-aggregate-api-db patches 2016-08-01 11:46:59 -07:00
test_aggregate_model.py Add aggregates tables to the API db. 2016-06-01 12:00:56 -05:00
test_archive.py Archive instance_actions and instance_actions_event 2016-05-02 13:07:03 +00:00
test_build_request.py Update BuildRequest if instance currently being scheduled 2016-09-12 22:31:50 +02:00
test_cell_mapping.py Add CellMappingList object 2016-06-17 11:27:29 -04:00
test_compute_node.py Make create_inventory() handle name change 2016-06-08 09:39:28 -07:00
test_connection_switch.py Add message queue switching through RequestContext 2016-05-16 15:34:35 +00:00
test_flavor.py Make flavor-manage api call destroy with Flavor object 2016-05-19 16:05:19 +02:00
test_flavor_model.py Creates flavor* tables in API database 2016-02-24 16:12:07 -06:00
test_host_mapping.py Fix host mapping saving 2016-07-15 08:49:45 +03:00
test_instance_group.py Add online migration to move instance groups to API database 2016-08-22 03:50:24 -07:00
test_instance_group_model.py Add instance groups tables to the API database 2016-06-23 00:28:50 +00:00
test_instance_mapping.py Instance mapping save, properly load cell mapping 2016-05-09 09:39:18 -05:00
test_keypair.py 'limit' and 'marker' support for db_api and keypair_obj 2016-07-12 14:25:33 +03:00
test_request_spec.py Add a RequestSpec generation migration script 2016-05-17 10:57:48 +02:00
test_resource_provider.py [placement] Stringify class and provider uuid in error 2016-09-20 14:36:37 +00:00