nova/nova/tests/unit/virt
Takashi NATSUME 8d757888a8 Override the 'get' method in DriverBlockDevice class
The following methods are overridden in DriverBlockDevice class.

* __getattr__
* __getitem__

The 'get' method is not overridden.
The value cannot be got by the 'get' method
though the value can be got by '__getattr__' (e.g. bdm.volumd_id)
or '__getitem__' (e.g. bdm['volume_id']) method.
So override the 'get' method to fix the issue.

Conflicts:
    nova/tests/unit/virt/test_block_device.py

    The conflict is due to not including
    Icc301230fe7c8e3ebbbcc7f4a807e562db7f93e3 in rocky.

Change-Id: Ic665fc1956831110937d98553e526cb909e49997
Closes-Bug: #1816938
(cherry picked from commit 3c66b40dbd)
(cherry picked from commit ae40ceba84)
2019-03-26 12:13:56 +09:00
..
disk Don't use private interface in oslo.service 2018-11-21 16:37:38 -05:00
hyperv hyperv: Cleans up live migration Planned VM 2018-09-14 11:49:17 -06:00
image
ironic Merge "pass endpoint interface to Ironic client" into stable/rocky 2019-03-21 15:59:11 +00:00
libvirt Allow utime call to fail on qcow2 image base file 2019-03-13 11:33:00 +00:00
powervm Merge "Rename recreate to evacuate in driver signatures" 2018-07-21 23:19:40 +00:00
vmwareapi Rename recreate to evacuate in driver signatures 2018-04-19 14:07:47 +01:00
xenapi XenAPI/Stops the migration of volume backed VHDS 2018-09-20 19:57:37 +00:00
zvm z/VM Driver: add get console output 2018-07-16 11:35:11 +08:00
__init__.py
fakelibosinfo.py
test_block_device.py Override the 'get' method in DriverBlockDevice class 2019-03-26 12:13:56 +09: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 hardware: fix memory check usage for small/large pages 2018-09-03 14:45:26 +00:00
test_imagecache.py Remove mox from tests/unit/virt/test_imagecache.py 2016-06-16 23:40:01 +00:00
test_images.py Fix execute mock for test_convert_image_with_errors 2018-06-14 12:33:21 +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.py Rename block_device_info_get_root 2018-01-11 20:46:13 +00:00
test_virt_drivers.py Revert "libvirt: slow live-migration to ensure network is ready" 2018-08-13 06:20:04 +00:00