summaryrefslogtreecommitdiff
path: root/ironic_python_agent/tests
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2020-06-20 00:00:10 +0000
committerGerrit Code Review <review@openstack.org>2020-06-20 00:00:10 +0000
commit46bf7e0ef4c9c3d17effdcc67accfac09f916cf1 (patch)
tree196d5687a859aa26a6de249ac70fdb18c642e3ef /ironic_python_agent/tests
parente8836e5359834915a4dc460921a2636ea6cce46b (diff)
parent9d4cf5532ff3cc4725c247aa0e0aca2caa30e640 (diff)
downloadironic-python-agent-46bf7e0ef4c9c3d17effdcc67accfac09f916cf1.tar.gz
Merge "Add a deploy step for writing an image"
Diffstat (limited to 'ironic_python_agent/tests')
-rw-r--r--ironic_python_agent/tests/unit/base.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ironic_python_agent/tests/unit/base.py b/ironic_python_agent/tests/unit/base.py
index 033c39cb..94196985 100644
--- a/ironic_python_agent/tests/unit/base.py
+++ b/ironic_python_agent/tests/unit/base.py
@@ -23,6 +23,7 @@ from oslo_config import cfg
from oslo_config import fixture as config_fixture
from oslotest import base as test_base
+from ironic_python_agent.extensions import base as ext_base
from ironic_python_agent import utils
CONF = cfg.CONF
@@ -58,6 +59,8 @@ class IronicAgentTest(test_base.BaseTestCase):
self.patch(subprocess, 'check_output', do_not_call)
self.patch(utils, 'execute', do_not_call)
+ ext_base._EXT_MANAGER = None
+
def _set_config(self):
self.cfg_fixture = self.useFixture(config_fixture.Config(CONF))