nova/nova/tests/unit/virt
esberglu db686fe185 Use correct arguments in task inits
The CreateAndConnectCfgDrive and DeleteVOpt tasks were passing the
instance into the task.Task init as the first argument. The first arg
for the Task init is actually the task name [1]. This means that those
task names were string representations of the instance which will cause
failures if there are any non-ascii characters. This corrects the Task
init calls by removing instance as the first argument. The name kwarg
is now being used throughout the PowerVM tasks to avoid similar issues
in the future.

[1] https://github.com/openstack/taskflow/blob/3.1.0/taskflow/task.py#L62

Change-Id: I991a5ea33daa9a21f774fe24882ed40f990b8e0e
Closes-Bug: #1748950
2018-02-13 11:26:47 -06:00
..
disk Merge "Don't launch guestfs in a thread pool if guestfs.debug is enabled" 2018-01-31 13:30:44 +00:00
hyperv Merge "hyper-v: Deprecates support for Windows / Hyper-V Server 2012" 2018-01-17 05:15:20 +00:00
image Use assert(Not)Equal instead of assertTrue(A == X) 2016-06-03 16:53:15 +01:00
ironic Implement get_traits() for the ironic virt driver 2018-01-30 20:45:27 -05:00
libvirt Refine waiting for vif plug events during _hard_reboot 2018-02-09 02:12:19 +00:00
powervm Use correct arguments in task inits 2018-02-13 11:26:47 -06:00
vmwareapi Merge "VMware: add support for different firmwares" 2018-01-05 21:40:36 +00:00
xenapi Move remaining uses of parted to privsep. 2018-01-24 22:26:36 +00:00
__init__.py
fakelibosinfo.py
test_block_device.py libvirt: fix native luks encryption failure to find volume_id 2018-02-02 15:00:30 -05:00
test_configdrive.py
test_driver.py Remove usage of parameter enforce_type 2017-04-17 20:23:19 +08:00
test_events.py
test_fake.py
test_firewall.py remove get_nw_info_for_instance from compute.utils 2017-06-13 13:30:06 +02:00
test_hardware.py Trim the fat from InstanceInfo 2017-07-25 10:27:23 -05:00
test_imagecache.py Remove mox from tests/unit/virt/test_imagecache.py 2016-06-16 23:40:01 +00:00
test_images.py qemu-img do not use cache=none if no O_DIRECT support 2017-11-29 22:33:39 +00:00
test_netutils.py Remove unnecessary code 2017-07-28 06:01:21 +00:00
test_osinfo.py Do not attempt to load osinfo if we do not have os_distro 2017-03-23 22:07:03 -04:00
test_virt_drivers.py Merge "libvirt: test to make sure volume_use_multipath is properly used" 2018-01-31 14:15:54 +00:00
test_virt.py Rename block_device_info_get_root 2018-01-11 20:46:13 +00:00