diff options
author | shangxdy <shang.xiaodong@zte.com.cn> | 2016-06-29 16:10:49 +0800 |
---|---|---|
committer | shangxdy <shang.xiaodong@zte.com.cn> | 2016-06-29 16:10:49 +0800 |
commit | 74924a61a1fefe5e4977cd8d9edf7e5bbbb9f966 (patch) | |
tree | 6966373186facb6b82bbab89058e3657040db5f6 /tosca2heat/tosca-parser/toscaparser/tests/test_topology_template.py | |
parent | 5359c6d752c29d10d8c0459f47bb7697203f1515 (diff) |
netsted template validate type error
When import nested template, validate type error, in the
validate list lack the type of "topology_template"
Change-Id: Ic16e02f460dc59936dfc5a361a21b9533f0e5e83
JIRA: PARSER-58
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
Diffstat (limited to 'tosca2heat/tosca-parser/toscaparser/tests/test_topology_template.py')
-rw-r--r-- | tosca2heat/tosca-parser/toscaparser/tests/test_topology_template.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tosca2heat/tosca-parser/toscaparser/tests/test_topology_template.py b/tosca2heat/tosca-parser/toscaparser/tests/test_topology_template.py index cbd4e3b..0f1a33e 100644 --- a/tosca2heat/tosca-parser/toscaparser/tests/test_topology_template.py +++ b/tosca2heat/tosca-parser/toscaparser/tests/test_topology_template.py @@ -34,11 +34,6 @@ class TopologyTemplateTest(TestCase): self.topo = TopologyTemplate(self.topo_tpl, self._get_all_custom_def()) - self.tosca_system_tpl_path = os.path.join( - os.path.dirname(os.path.abspath(__file__)), - "data/topology_template/system.yaml") - self.system_template = ToscaTemplate(self.tosca_system_tpl_path) - def _get_custom_def(self, type_definition): custom_defs = {} for definition in self.imports: |