From ed2f6006158e120159f4422bc626cc0d5fe5cecf Mon Sep 17 00:00:00 2001 From: shangxdy Date: Thu, 21 Jul 2016 20:02:51 +0800 Subject: tosca-parser support the semantic of substitution mapping As a template designer, I want to using node template substitution for model composition or chaining subsystems. So firstly tosca-paser should support the substitution mappings analysis. Change-Id: I44371795504415ba8cf5a15f7e1d046e3ff00ade JIRA: PARSER-43 Signed-off-by: shangxdy --- tosca2heat/tosca-parser/toscaparser/tests/test_topology_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tosca2heat/tosca-parser/toscaparser/tests') diff --git a/tosca2heat/tosca-parser/toscaparser/tests/test_topology_template.py b/tosca2heat/tosca-parser/toscaparser/tests/test_topology_template.py index 14f2496..f66396e 100644 --- a/tosca2heat/tosca-parser/toscaparser/tests/test_topology_template.py +++ b/tosca2heat/tosca-parser/toscaparser/tests/test_topology_template.py @@ -159,4 +159,4 @@ class TopologyTemplateTest(TestCase): "data/topology_template/system.yaml") system_tosca_template = ToscaTemplate(tpl_path) self.assertIsNotNone(system_tosca_template) - self.assertEqual(len(system_tosca_template.nested_tosca_template), 0) + self.assertEqual(len(system_tosca_template.nested_tosca_templates), 1) -- cgit 1.2.3-korg