Merge "[Trivial] Fix testing of volume connector exception"
This commit is contained in:
@@ -322,7 +322,7 @@ class TaskManagerTestCase(db_base.DbTestCase):
|
|||||||
reserve_mock.assert_called_once_with(self.context, self.host,
|
reserve_mock.assert_called_once_with(self.context, self.host,
|
||||||
'fake-node-id')
|
'fake-node-id')
|
||||||
get_volconn_mock.assert_called_once_with(self.context, self.node.id)
|
get_volconn_mock.assert_called_once_with(self.context, self.node.id)
|
||||||
self.assertFalse(get_voltgt_mock.called)
|
self.assertFalse(build_driver_mock.called)
|
||||||
release_mock.assert_called_once_with(self.context, self.host,
|
release_mock.assert_called_once_with(self.context, self.host,
|
||||||
self.node.id)
|
self.node.id)
|
||||||
node_get_mock.assert_called_once_with(self.context, 'fake-node-id')
|
node_get_mock.assert_called_once_with(self.context, 'fake-node-id')
|
||||||
|
|||||||
Reference in New Issue
Block a user