summaryrefslogtreecommitdiff
path: root/ironic_python_agent/netutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'ironic_python_agent/netutils.py')
-rw-r--r--ironic_python_agent/netutils.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ironic_python_agent/netutils.py b/ironic_python_agent/netutils.py
index 299b474b..8b005eba 100644
--- a/ironic_python_agent/netutils.py
+++ b/ironic_python_agent/netutils.py
@@ -22,6 +22,11 @@ import sys
from oslo_config import cfg
+# FIXME(lucasagomes): If you don't import the agent module the tests in
+# this file will fail, it was working before because the agent module was
+# being imported at tests/agent.py
+from ironic_python_agent.cmd import agent # noqa
+
LOG = logging.getLogger(__name__)
CONF = cfg.CONF