nova/nova/tests/unit/objects
Dan Smith edbd3135f8 Fix binary name used in the pci device online migration check
The should_migrate_data() method used to gate PCIDevice online migrations
has, unfortunately, been incorrect since day one. It checks for the
nova-api service, but should have been checking for nova-osapi_compute.
This fixes that and adds a test.

Change-Id: I69faa52fc126db6e99827bcb7dcf0841d0e15e74
Closes-Bug: #1630732
(cherry picked from commit fb17be18cd)
2016-10-11 16:19:28 -07:00
..
__init__.py
test_agent.py cleanup NovaObjectDictCompat from agent 2015-08-26 16:36:25 +05:30
test_aggregate.py Allocate uuids for aggregates as they are created or loaded 2016-02-24 07:48:09 -08:00
test_bandwidth_usage.py Fix order of arguments in assertEqual 2015-09-21 00:14:01 -07:00
test_block_device.py Fix undetected races when getting BDMs by volume id 2016-01-14 12:37:57 -08:00
test_build_request.py Add BuildRequest object 2016-03-02 21:31:45 -05:00
test_cell_mapping.py Switch from MySQL-python to PyMySQL 2015-07-03 22:09:36 +00:00
test_compute_node.py Merge "Allow saving empty pci_device_pools in ComputeNode object" 2016-03-04 12:07:43 +00:00
test_dns_domain.py Remove DictCompat from DNSDomain 2016-01-11 16:38:06 +00:00
test_ec2.py Remove DictCompat from EC2 objects 2016-01-11 17:07:58 +00:00
test_external_event.py Use EnumField for instance external event name 2015-05-20 22:16:52 +00:00
test_fields.py Implement an indexed ResourceClass Enum object 2016-02-10 11:07:52 +00:00
test_fixed_ip.py Replaced deprecated timeutils methods 2015-11-18 17:45:29 +01: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 Change assertEqual(True/False) to assertTrue/False 2016-01-11 17:02:11 +05:30
test_instance.py Avoid lazy-loads of ec2_ids on Instance 2016-03-15 07:07:15 -07:00
test_instance_action.py Use TimeFixture from oslo_utils to override time in tests 2015-12-18 12:15:00 -05:00
test_instance_fault.py Implements proper UUID format for few objects tests. 2015-12-16 17:31:03 +01:00
test_instance_group.py Fix RequestSpec.instance_group hydration 2015-09-02 16:47:34 +02:00
test_instance_info_cache.py Implements proper UUID format for few objects tests. 2015-12-16 17:31:03 +01:00
test_instance_mapping.py Make InstanceMappings.cell_id nullable 2016-03-02 21:54:23 -05:00
test_instance_numa_topology.py objects: Allow instance to reset the NUMA topology 2016-02-26 19:22:52 +00:00
test_instance_pci_requests.py pci: Remove objects.InstancePCIRequests.save() 2015-08-19 12:22:00 -04:00
test_keypair.py Remove mox from tests/unit/objects/test_keypair.py 2016-01-25 11:41:35 +05:30
test_migrate_data.py Split-network-plane-for-live-migration 2016-02-05 09:13:05 +08:00
test_migration.py Add new APIs and deprecate old API for migrations 2016-02-26 14:25:48 +00:00
test_migration_context.py objects: Add MigrationContext object 2015-08-31 20:45:19 +01:00
test_monitor_metric.py Fix wrong CPU metric value in metrics_filter 2015-12-04 23:47:39 +00:00
test_network.py Implements proper UUID format for few objects tests. 2015-12-16 17:31:03 +01:00
test_network_request.py network_request_obj: Clean up outdated code 2015-09-06 03:22:19 +00:00
test_notification.py Make emitting versioned notifications configurable 2016-01-19 19:20:24 +01:00
test_numa.py Add 'hw:cpu_threads_policy=isolate' scheduling 2016-01-14 11:02:51 +00:00
test_objects.py Merge "Use SensitiveStringField for BlockDeviceMapping.connection_info" 2016-03-10 14:22:42 +00:00
test_pci_device.py Fix binary name used in the pci device online migration check 2016-10-11 16:19:28 -07:00
test_pci_device_pool.py Return empty PciDevicePoolList obj instead of None 2015-09-11 21:20:01 +02: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 Stop providing force_hosts to the scheduler for move ops 2016-03-25 20:35:28 +00:00
test_resource_provider.py resource-provider versioned objects 2016-02-23 19:16:33 +00:00
test_security_group.py Remove assertRemotes() from objects tests 2015-06-08 07:18:16 -07:00
test_security_group_rule.py Cleanup NovaObjectDictCompat from security_group_rule 2016-01-05 16:21:08 +00:00
test_service.py Fix service version to update the DB 2016-10-01 22:41:50 +00:00
test_tag.py Added method exists to the Tag object 2015-07-09 09:00:39 +03:00
test_task_log.py Replaced deprecated timeutils methods 2015-11-18 17:45:29 +01: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