nova/nova/tests/unit/objects
Diana Clarke 110bb30d0f Replace N block_device_mapping queries with 1
The ExtendedVolumes post-processing extension used to do N
block_device_mapping queries (one query per instance in a 'nova list').
Instead, do one block_device_mapping query with an IN clause of
instance UUIDs.

Change-Id: I32a1bd0e05a7a938e531d00bedfab23a0bb68538
Partial-Bug: #1416132
Closes-Bug: #1359808
2015-11-12 12:02:05 -05:00
..
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_agent.py cleanup NovaObjectDictCompat from agent 2015-08-26 16:36:25 +05:30
test_aggregate.py Move to using ovo's remotable decorators 2015-07-28 10:34:59 -07:00
test_bandwidth_usage.py Fix order of arguments in assertEqual 2015-09-21 00:14:01 -07:00
test_block_device.py Replace N block_device_mapping queries with 1 2015-11-12 12:02:05 -05:00
test_cell_mapping.py Switch from MySQL-python to PyMySQL 2015-07-03 22:09:36 +00:00
test_compute_node.py Clean up tests for dropping obj_relationships 2015-10-14 15:15:43 -07:00
test_dns_domain.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_ec2.py Add EC2Ids object and link to Instance object as optional attribute 2015-04-12 00:50:19 +02:00
test_external_event.py Use EnumField for instance external event name 2015-05-20 22:16:52 +00:00
test_fields.py Add test cases for some classes in objects.fields 2015-09-21 23:53:56 +08:00
test_fixed_ip.py Clean up tests for dropping obj_relationships 2015-10-14 15:15:43 -07:00
test_flavor.py Move to using ovo's remotable decorators 2015-07-28 10:34:59 -07:00
test_floating_ip.py Clean up tests for dropping obj_relationships 2015-10-14 15:15:43 -07:00
test_host_mapping.py Deprecated: failIf 2015-10-30 13:30:40 -04:00
test_hv_spec.py libvirt: rename parallels driver to virtuozzo 2015-07-29 18:40:12 +03:00
test_image_meta.py Fix missing obj_make_compatible() for ImageMetaProps object 2015-10-22 11:11:24 -07:00
test_instance.py Drop Instance v1.x support 2015-11-03 10:05:30 -08:00
test_instance_action.py Replace unicode with six.text_type 2015-05-12 12:31:20 +02:00
test_instance_fault.py Move to using ovo's remotable decorators 2015-07-28 10:34:59 -07:00
test_instance_group.py Fix RequestSpec.instance_group hydration 2015-09-02 16:47:34 +02:00
test_instance_info_cache.py Fix order of arguments in assertEqual 2015-09-21 00:14:01 -07:00
test_instance_mapping.py Add InstanceMapping object 2015-03-18 15:24:25 -04:00
test_instance_numa_topology.py Remove usage of remotable context parameter in instance* objects 2015-03-17 12:52:56 -07:00
test_instance_pci_requests.py pci: Remove objects.InstancePCIRequests.save() 2015-08-19 12:22:00 -04:00
test_keypair.py Move to using ovo's remotable decorators 2015-07-28 10:34:59 -07:00
test_migration.py rt: generalize claim code to be useful for other move actions 2015-08-26 16:43:35 +01:00
test_migration_context.py objects: Add MigrationContext object 2015-08-31 20:45:19 +01:00
test_monitor_metric.py Convert percent metrics back into the [0, 1] range 2015-08-25 22:59:19 -05:00
test_network.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_network_request.py network_request_obj: Clean up outdated code 2015-09-06 03:22:19 +00:00
test_numa.py Clean up tests for dropping obj_relationships 2015-10-14 15:15:43 -07:00
test_objects.py Replace N block_device_mapping queries with 1 2015-11-12 12:02:05 -05:00
test_pci_device.py pci: Remove nova.pci.device module 2015-08-19 12:22:00 -04:00
test_pci_device_pool.py Cleanups for pci stats in preparation for RT using ComputeNode 2015-05-23 03:41:19 +01:00
test_quotas.py Fix some straggling uses of passing context to remotable methods in tests 2015-03-09 07:30:15 -07:00
test_request_spec.py Use RequestSpec object in the FilterScheduler 2015-10-30 17:43:26 -07:00
test_security_group.py Remove assertRemotes() from objects tests 2015-06-08 07:18:16 -07:00
test_security_group_rule.py Make readonly field tests use exception from oslo.versionedobjects 2015-06-22 11:46:20 +00:00
test_service.py Merge "Fix up Service object for manifest-based backports" 2015-10-23 17:42:10 +00:00
test_tag.py Added method exists to the Tag object 2015-07-09 09:00:39 +03:00
test_task_log.py Add a TaskLog object 2015-06-15 12:30:52 +02:00
test_vcpu_model.py cleanup NovaObjectDictCompat from virt_cpu_topology 2015-08-05 08:56:30 +05:30
test_virt_cpu_topology.py Convert hardware.VirtCPUTopology to nova object 2014-11-20 09:14:25 -05:00
test_virtual_interface.py cleanup NovaObjectDictCompat from virtual_interface 2015-08-03 22:48:23 +05:30
test_volume_usage.py Add a VolumeUsage object 2015-08-23 18:45:38 +02:00