os-brick/os_brick/tests
Peter Wang 0f3ec7c70a Use 'device' instead of 'volume_path'
If device is not found at the first try,
exception VolumeDeviceNotFound will be thrown.
The exception VolumeDeviceNotFound expects the key 'device',
however, 'volume_path' is passed in. As a result,
KeyError: 'device' exception will be thrown.

See the following definition in exception.py:
class VolumeDeviceNotFound(CinderException):
    message = _('Volume device not found at %(device)s.')

This bug is introduced in https://review.openstack.org/#/c/213389

Change-Id: I64b37486631c31569fb037064c2ec0fee3bd855c
Closes-Bug: #1492936
2015-09-07 22:30:10 -04:00
..
initiator Use 'device' instead of 'volume_path' 2015-09-07 22:30:10 -04:00
remotefs Remotefs: add ScalityFS support 2015-08-10 12:03:36 +02:00
__init__.py renamed the project to os-brick 2015-02-05 23:58:37 +00:00
base.py Added ABCMeta class to the InitiatorConnector 2015-07-08 10:57:33 -07:00
test_brick.py renamed the project to os-brick 2015-02-05 23:58:37 +00:00
test_exception.py Use six.text_type instead of unicode 2015-04-03 10:22:45 +03:00
test_utils.py update os-brick to pass python3 tests 2015-06-30 15:35:06 -07:00