summaryrefslogtreecommitdiff
path: root/ironic/tests/unit/drivers/third_party_driver_mocks.py
diff options
context:
space:
mode:
Diffstat (limited to 'ironic/tests/unit/drivers/third_party_driver_mocks.py')
-rw-r--r--ironic/tests/unit/drivers/third_party_driver_mocks.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ironic/tests/unit/drivers/third_party_driver_mocks.py b/ironic/tests/unit/drivers/third_party_driver_mocks.py
index 56c3a3878..03850a48e 100644
--- a/ironic/tests/unit/drivers/third_party_driver_mocks.py
+++ b/ironic/tests/unit/drivers/third_party_driver_mocks.py
@@ -56,6 +56,8 @@ if not proliantutils:
sys.modules['proliantutils.utils'] = proliantutils.utils
proliantutils.utils.process_firmware_image = mock.MagicMock()
proliantutils.exception.IloError = type('IloError', (Exception,), {})
+ proliantutils.exception.IloLogicalDriveNotFoundError = (
+ type('IloLogicalDriveNotFoundError', (Exception,), {}))
command_exception = type('IloCommandNotSupportedError', (Exception,), {})
proliantutils.exception.IloCommandNotSupportedError = command_exception
proliantutils.exception.IloCommandNotSupportedInBiosError = type(