summaryrefslogtreecommitdiff
path: root/ironic/tests/unit/drivers/test_utils.py
diff options
context:
space:
mode:
authorDmitry Tantsur <divius.inside@gmail.com>2018-05-17 14:23:03 +0200
committerDmitry Tantsur <divius.inside@gmail.com>2018-05-24 18:47:52 +0200
commita684883d22a67a8bbbdc511f7f26c99b5d5c6693 (patch)
treeee168c78c66602da74766f3eb7f7b3fe50302699 /ironic/tests/unit/drivers/test_utils.py
parent580d4338e2bce8e557a5007fcba85e157f0b8d60 (diff)
downloadironic-a684883d22a67a8bbbdc511f7f26c99b5d5c6693.tar.gz
Remove excessive usage of mock_the_extension_manager in unit tests - part 2
Also fixes incorrect oneview tests that apparently used to be hidden by that. Similarly, insufficient mocking in the PXE boot interface tests was fixed. Now only test_manager uses mock_the_extension_manager. Change-Id: Iaef9555337919706cd165adbbb2e1be9322f80b7
Diffstat (limited to 'ironic/tests/unit/drivers/test_utils.py')
-rw-r--r--ironic/tests/unit/drivers/test_utils.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/ironic/tests/unit/drivers/test_utils.py b/ironic/tests/unit/drivers/test_utils.py
index 9f695a5d0..115550b7c 100644
--- a/ironic/tests/unit/drivers/test_utils.py
+++ b/ironic/tests/unit/drivers/test_utils.py
@@ -29,7 +29,6 @@ from ironic.drivers.modules import agent_client
from ironic.drivers.modules import fake
from ironic.drivers import utils as driver_utils
from ironic.tests import base as tests_base
-from ironic.tests.unit.conductor import mgr_utils
from ironic.tests.unit.db import base as db_base
from ironic.tests.unit.objects import utils as obj_utils
@@ -38,7 +37,6 @@ class UtilsTestCase(db_base.DbTestCase):
def setUp(self):
super(UtilsTestCase, self).setUp()
- mgr_utils.mock_the_extension_manager()
self.driver = driver_factory.get_driver("fake")
self.node = obj_utils.create_test_node(self.context)