os-brick/os_brick/tests
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 Provide setting to ignore lvm descriptor leak warnings 2019-05-07 21:53:37 +00:00
privileged Remove time checks from test_custom_execute_timeout_* tests 2018-12-17 19:15:05 +02:00
remotefs Read mounts from /proc/mounts instead of running mount 2019-12-20 10:03:30 -05:00
windows Windows SMBFS: fix using share subdirs 2018-11-27 10:19:07 +02:00
__init__.py renamed the project to os-brick 2015-02-05 23:58:37 +00:00
base.py Merge "Replace assertDictMatch with assertDictEqual" 2016-12-22 17:24:10 +00:00
test_brick.py Removes unnecessary utf-8 encoding 2016-12-22 10:24:40 +07:00
test_exception.py Use six.text_type instead of unicode 2015-04-03 10:22:45 +03:00
test_executor.py iSCSI multipath: improve logging on connect 2017-06-26 20:31:59 +02:00
test_utils.py Mask passwords in utils.trace for func params 2016-11-08 12:55:46 -05:00