From 9fa64ef86316036a40f742b92bbe6a3ca1d490fb Mon Sep 17 00:00:00 2001 From: spisarski Date: Mon, 23 Oct 2017 08:48:10 -0600 Subject: Added ext_net_name into template substitution variable. Without the change, the template would always leverage the external network name of 'external'. Also am now creating a security group for the VM with the floating IP so the test will always be able to access. Fixed another test that used the same heat template that was changed to add in security groups. JIRA: SNAPS-206 Change-Id: I19b09e91a844f88bd473ea25b2bba71ae19b0aa1 Signed-off-by: spisarski --- snaps/openstack/utils/tests/heat_utils_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'snaps/openstack/utils') diff --git a/snaps/openstack/utils/tests/heat_utils_tests.py b/snaps/openstack/utils/tests/heat_utils_tests.py index 44235ff..6f75f89 100644 --- a/snaps/openstack/utils/tests/heat_utils_tests.py +++ b/snaps/openstack/utils/tests/heat_utils_tests.py @@ -399,7 +399,7 @@ class HeatUtilsCreateComplexStackTests(OSComponentTestCase): """ resources = heat_utils.get_resources(self.heat_client, self.stack) self.assertIsNotNone(resources) - self.assertEqual(11, len(resources)) + self.assertEqual(12, len(resources)) options = heat_utils.get_outputs(self.heat_client, self.stack) self.assertIsNotNone(options) -- cgit 1.2.3-korg