os-brick/os_brick/initiator/connectors
Eric Harney 55cfc97581 rbd: Correct local_attach disconnect test and showmapped arguments
Id507109df80391699074773f4787f74507c4b882 introduced the showmapped
command when attempting to disconnect locally attached rbd volumes.
Unfortunately at the time the test changes incorrectly attempted to
assert the commands made by using has_calls instead of the valid
assert_has_calls method.

This change now corrects this, ensures _get_rbd_args is called to
populate all of the required arguments for the showmapped command and
finally corrects the name stored within the fake showmapped output in
the test.

Change-Id: I7e761828b3799cef720e15ca7896e8e8d6f98182
(cherry picked from commit 71331b0e06)
2020-05-18 17:35:53 +01:00
..
__init__.py Splitting Out Connectors from connector.py 2016-08-02 15:54:15 -05:00
aoe.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
base.py Remove log translations 2017-03-22 09:19:01 +08:00
base_iscsi.py Splitting Out Connectors from connector.py 2016-08-02 15:54:15 -05:00
disco.py Raise hacking version to 2.0.0 2019-12-21 03:11:27 -06:00
drbd.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
fake.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
fibre_channel.py FC improve logging 2019-11-11 15:49:55 +01:00
fibre_channel_ppc64.py Incorporate the connection_properties input for PPC64 2018-03-20 09:23:12 -04:00
fibre_channel_s390x.py Fix param in s390x platform 2019-08-27 02:02:05 +00:00
gpfs.py Add connector for GPFS volumes 2016-08-16 16:09:52 +05:30
hgst.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
huawei.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
iscsi.py iscsi: Add _get_device_link retry when waiting for /dev/disk/by-id/ to populate 2019-11-29 16:23:18 +00:00
local.py doc: Restructure docs for doc-migration 2017-08-08 15:44:29 +01:00
nvmeof.py connectors/nvme: Wait until nvme device shows up in kernel 2020-02-19 09:35:45 +00:00
rbd.py rbd: Correct local_attach disconnect test and showmapped arguments 2020-05-18 17:35:53 +01:00
remotefs.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00
scaleio.py Remove VxFlexOS connector external dependencies 2019-10-22 16:44:13 +03:00
storpool.py StorPool: wait for the device to be resized. 2019-12-05 14:45:29 +02:00
vmware.py VMware: Detach backing vmdk during disconnect 2019-02-01 15:05:07 -08:00
vrtshyperscale.py Refactor iSCSI disconnect 2017-05-31 15:31:20 +02:00