nova/nova/tests
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
..
functional Merge "Fix resetting non-persistent fields when saving obj" into stable/rocky 2019-03-15 22:32:13 +00:00
live_migration/hooks Fix legacy-grenade-dsvm-neutron-multinode-live-migration 2019-02-28 15:43:57 -05:00
unit Override the 'get' method in DriverBlockDevice class 2019-03-26 12:13:56 +09:00
__init__.py
fixtures.py Fix race in test_volume_swap_server_with_error 2019-03-02 14:38:25 +00:00
json_ref.py Transform instance.exists notification 2018-06-05 12:51:30 +00:00
uuidsentinel.py