nova/nova/tests/unit/objects
Sylvain Bauza c48c1098cb Fix RequestSpec.instance_group hydration
A mistake was done by hydrating the members field for the InstanceGroup object when
creating the RequestSpec object because that field is for getting the instances,
not the hosts. In order to provide that information, we need to provide a new
version of the InstanceGroup and give a lazy-load for getting it in case we want to
have it.

Change-Id: I0d892bbe490c9ee727f54077d7398cc2800ce107
Partially-Implements: blueprint request-spec-object
2015-09-02 16:47:34 +02: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 Return bandwidth usage after updating 2015-06-18 10:35:42 -04:00
test_block_device.py Cells: Improve block device mapping update/create calls 2015-08-28 15:41:05 -04:00
test_cell_mapping.py Switch from MySQL-python to PyMySQL 2015-07-03 22:09:36 +00:00
test_compute_node.py Add cpu_allocation_ratio and ram_allocation_ratio to ComputeNode 2015-08-31 15:21:21 +02: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 Use compatibility methods from oslo 2015-08-26 13:37:36 -07:00
test_fixed_ip.py Switch to using oslo_* instead of oslo.* 2015-02-06 06:03:10 -05:00
test_flavor.py Move to using ovo's remotable decorators 2015-07-28 10:34:59 -07:00
test_floating_ip.py Optimize 'floating_ip_bulk_create' function 2014-12-01 20:12:06 +04:00
test_host_mapping.py Add HostMapping object 2015-07-10 07:30:28 +00:00
test_hv_spec.py libvirt: rename parallels driver to virtuozzo 2015-07-29 18:40:12 +03:00
test_image_meta.py Honour nullability constraints of Glance schema in ImageMeta 2015-08-06 21:44:25 +03:00
test_instance.py Make compute_api.trigger_members_refresh() issue a single db call 2015-08-19 16:06:23 +02: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 Remove assertRemotes() from objects tests 2015-06-08 07:18:16 -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 move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_numa.py Prevent (un)pinning unknown CPUs 2015-08-11 09:38:14 +00:00
test_objects.py Fix RequestSpec.instance_group hydration 2015-09-02 16:47:34 +02: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 Fix RequestSpec.instance_group hydration 2015-09-02 16:47:34 +02: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 Make ComputeNode.service_id nullable to match db schema 2015-08-13 10:21:55 +02: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