summaryrefslogtreecommitdiff
path: root/ironic/tests/unit/common
diff options
context:
space:
mode:
authorRamamani Yeleswarapu <ramamani.yeleswarapu@intel.com>2016-04-18 13:07:18 -0700
committerRamamani Yeleswarapu <ramamani.yeleswarapu@intel.com>2016-04-21 10:09:01 -0700
commite9bf4916869a0dd9921f9d3019902b93f6153fb0 (patch)
tree2d4f9cb86378d3f7adbc13dac03729bdc53f2561 /ironic/tests/unit/common
parent47f40c7c60c4b5a305d70560ed20b24b542fa0a7 (diff)
downloadironic-e9bf4916869a0dd9921f9d3019902b93f6153fb0.tar.gz
Remove two DEPRECATED config options from [agent]
Remove two config options that were DEPRECATED in Liberty cycle from the config group section [agent]. They are: - agent_pxe_append_params - agent_pxe_config_template These were marked for removal in the Mitaka release. Change-Id: I5ceb895db7dcd7150b93059ddc8c4084228efca0 Closes-Bug: 1570475
Diffstat (limited to 'ironic/tests/unit/common')
-rw-r--r--ironic/tests/unit/common/test_pxe_utils.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/ironic/tests/unit/common/test_pxe_utils.py b/ironic/tests/unit/common/test_pxe_utils.py
index 6f73caaa7..634937d96 100644
--- a/ironic/tests/unit/common/test_pxe_utils.py
+++ b/ironic/tests/unit/common/test_pxe_utils.py
@@ -113,17 +113,6 @@ class TestPXEUtils(db_base.DbTestCase):
self.assertEqual(six.text_type(expected_template), rendered_template)
- def test__build_pxe_config_with_agent(self):
-
- rendered_template = pxe_utils._build_pxe_config(
- self.agent_pxe_options, CONF.agent.agent_pxe_config_template,
- '{{ ROOT }}', '{{ DISK_IDENTIFIER }}')
-
- template_file = 'ironic/tests/unit/drivers/agent_pxe_config.template'
- expected_template = open(template_file).read().rstrip()
-
- self.assertEqual(six.text_type(expected_template), rendered_template)
-
def test__build_ipxe_bios_config(self):
# NOTE(lucasagomes): iPXE is just an extension of the PXE driver,
# it doesn't have it's own configuration option for template.