The policytype's parent_type definition is error 11/15511/3
authorshangxdy <shang.xiaodong@zte.com.cn>
Tue, 14 Jun 2016 09:31:14 +0000 (17:31 +0800)
committershangxdy <shang.xiaodong@zte.com.cn>
Tue, 14 Jun 2016 16:41:56 +0000 (00:41 +0800)
commitdc0e2e51304dbc085546ee869617d9c545610667
treef0e4bfab08eff9f15b3b9abad7f3273485c7532d
parent37c637988622dde3425390fb861800ffdaf2b6cb
The policytype's parent_type definition is error

1. policy type define parent_type, but it shall be statefulentity, not string,
so the method of is_derived_from in policy entity may be error
when it's called.
2. The bug will submit to openstack community.

Change-Id: I25e1cb04e9c13eea6d47ed0bfeac961f59146842
JIRA: PARSER-52
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
tosca2heat/tosca-parser/toscaparser/elements/policytype.py
tosca2heat/tosca-parser/toscaparser/tests/test_toscadef.py