EntityTemplate has no property of parent_type 05/15505/4
authorshangxdy <shang.xiaodong@zte.com.cn>
Tue, 14 Jun 2016 07:28:35 +0000 (15:28 +0800)
committershangxdy <shang.xiaodong@zte.com.cn>
Thu, 16 Jun 2016 12:13:19 +0000 (20:13 +0800)
commit898719f261d68f822e3ab14c1466e893dd70f2a7
tree6d59c78fe6ed569021d71c5d390d1af8f2e868b5
parent37c637988622dde3425390fb861800ffdaf2b6cb
EntityTemplate has no property of parent_type

1. EntityTemplate is the parent of NodeTemplate,but there is no definition
of parent_type definition, so the method of is_derived_from will be error
when call the parent_type's method.
2. The bug will submit to openstack community.

Change-Id: If6d360932fd610f001934d23aac63e11ac16fddf
JIRA: PARSER-51
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
tosca2heat/tosca-parser/toscaparser/entity_template.py
tosca2heat/tosca-parser/toscaparser/tests/test_toscatpl.py