os-brick/os_brick
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
..
encryptors Skip cryptsetup password quality checking 2020-01-28 09:14:40 -05:00
initiator rbd: Correct local_attach disconnect test and showmapped arguments 2020-05-18 17:35:53 +01:00
local_dev Raise hacking version to 2.0.0 2019-12-21 03:11:27 -06:00
privileged Remove VxFlexOS connector external dependencies 2019-10-22 16:44:13 +03:00
remotefs Read mounts from /proc/mounts instead of running mount 2019-12-20 10:03:30 -05:00
tests rbd: Correct local_attach disconnect test and showmapped arguments 2020-05-18 17:35:53 +01:00
__init__.py doc: Remove cruft from conf.py 2017-08-08 15:44:29 +01:00
exception.py Revert "Verify WWN of connected iSCSI devices if passed" 2019-03-12 12:03:57 +02:00
executor.py iSCSI multipath: improve logging on connect 2017-06-26 20:31:59 +02:00
i18n.py Update and replace http with https for doc links 2017-07-26 02:18:44 +00:00
utils.py Mask passwords in utils.trace for func params 2016-11-08 12:55:46 -05:00
version.py Add reno for release notes management 2016-01-20 19:19:36 -06:00