summaryrefslogtreecommitdiffstats
path: root/tosca2heat/tosca-parser/toscaparser/shell.py
diff options
context:
space:
mode:
authorshangxdy <shang.xiaodong@zte.com.cn>2016-07-01 10:38:20 +0800
committershangxdy <shang.xiaodong@zte.com.cn>2016-07-01 10:38:20 +0800
commitc56a304dbfbc5374cbee8a0e83d24b46cd54813a (patch)
treeb5b3c10fe006777764d0d1945eddb38be4291ede /tosca2heat/tosca-parser/toscaparser/shell.py
parentd3ec79a8d3146b88892cf6d7fdf843ccd7e3a0b0 (diff)
fix error when run unittest case
when run tox -epy27, there are errors in function of test_relationship for key in relation.keys(): rel_tpl = relation.get(key).get_relationship_template() if rel_tpl: self.assertEqual( rel_tpl[0].type, "tosca.relationships.ConnectsTo") rel_tpl is a list so real_tpl[0].type can be other value, not only tosca.relationships.ConnectsTo. JIRA: PARSER:61 Change-Id: Ibdc7307888f5281ac0bd806088483f8c46416968 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
Diffstat (limited to 'tosca2heat/tosca-parser/toscaparser/shell.py')
0 files changed, 0 insertions, 0 deletions