summaryrefslogtreecommitdiffstats
path: root/tosca2heat/heat-translator/translator/hot/tests/test_translate_outputs.py
diff options
context:
space:
mode:
authorshangxdy <shang.xiaodong@zte.com.cn>2017-02-27 01:19:10 +0800
committershangxdy <shang.xiaodong@zte.com.cn>2017-02-27 01:27:13 +0800
commit99368c87bb2e4a93905759dcfc36046243062fd7 (patch)
tree530a56817308de8926c8080f0fa1fb28bf9d3ce8 /tosca2heat/heat-translator/translator/hot/tests/test_translate_outputs.py
parent5a918c30a6c46605c616c2ffba1737ef9ea3ee3a (diff)
Add ip output in compute node
After sync the latest heat-translator code from upstream, there is not ip output in compute node, it's necessary to add. JIRA:PARSER-121 Change-Id: Idb0126f9d2bcb6100be6083e2a661cc1cdbe0f27 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
Diffstat (limited to 'tosca2heat/heat-translator/translator/hot/tests/test_translate_outputs.py')
-rw-r--r--tosca2heat/heat-translator/translator/hot/tests/test_translate_outputs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tosca2heat/heat-translator/translator/hot/tests/test_translate_outputs.py b/tosca2heat/heat-translator/translator/hot/tests/test_translate_outputs.py
index 955150e..12ea355 100644
--- a/tosca2heat/heat-translator/translator/hot/tests/test_translate_outputs.py
+++ b/tosca2heat/heat-translator/translator/hot/tests/test_translate_outputs.py
@@ -33,12 +33,12 @@ class ToscaTemplateOutputTest(TestCase):
'server, http://<IP>:3000',
'value':
{'get_attr':
- ['app_server', 'networks', 'private', 0]}},
+ ['app_server', 'first_address']}},
'mongodb_url':
{'description': 'URL for the mongodb server.',
'value':
{'get_attr':
- ['mongo_server', 'networks', 'private', 0]}}}
+ ['mongo_server', 'first_address']}}}
hot_translation_dict = \
toscaparser.utils.yamlparser.simple_parse(hot_translation)