summaryrefslogtreecommitdiff
path: root/ironic/tests/unit/conductor/test_task_manager.py
diff options
context:
space:
mode:
authorArne Wiebalck <Arne.Wiebalck@cern.ch>2021-02-26 15:14:23 +0100
committerRuby Loo <opensrloo@gmail.com>2021-03-09 15:32:06 +0000
commitc72df98dafcc046d70dd98a777b80e1e79c31ba6 (patch)
tree2baa009729d4fb197e2d75f645c3e8aa82962f1b /ironic/tests/unit/conductor/test_task_manager.py
parentc0c3ab938f11f10e599978394dfeef9261a38555 (diff)
downloadironic-c72df98dafcc046d70dd98a777b80e1e79c31ba6.tar.gz
[Trivial] Fix testing of volume connector exception
Restore test symmetry. Change-Id: I54a9fed73e366a30545c3cd1982588d2f544d228 (cherry picked from commit 61c5b3fd2fb1ae0df1cbfbca83e5bda393d0e8e4) (cherry picked from commit 5e2eeb311044085b0790c19002fe8e792c3dd6e0)
Diffstat (limited to 'ironic/tests/unit/conductor/test_task_manager.py')
-rw-r--r--ironic/tests/unit/conductor/test_task_manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic/tests/unit/conductor/test_task_manager.py b/ironic/tests/unit/conductor/test_task_manager.py
index 1cb61441f..ced512dfd 100644
--- a/ironic/tests/unit/conductor/test_task_manager.py
+++ b/ironic/tests/unit/conductor/test_task_manager.py
@@ -279,7 +279,7 @@ class TaskManagerTestCase(db_base.DbTestCase):
reserve_mock.assert_called_once_with(self.context, self.host,
'fake-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,
self.node.id)
node_get_mock.assert_called_once_with(self.context, 'fake-node-id')