summaryrefslogtreecommitdiffstats
path: root/tosca2heat/heat-translator/translator/tests/test_tosca_hot_translation.py
diff options
context:
space:
mode:
authorshangxdy <shang.xiaodong@zte.com.cn>2016-09-07 16:08:51 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-09-07 16:08:51 +0000
commitfa544e8fbbf3b8d5cfe0dc82090f0de6d7599524 (patch)
tree4567d54cde840054ec8ec8a132072e7e5f01197e /tosca2heat/heat-translator/translator/tests/test_tosca_hot_translation.py
parent350bb92daa86726a12b441e1463310e3fcf89105 (diff)
parent9f460d7068d86dc1320e858ab1d756c88283e6f6 (diff)
Merge "Create translation test code for vRNC"
Diffstat (limited to 'tosca2heat/heat-translator/translator/tests/test_tosca_hot_translation.py')
-rw-r--r--tosca2heat/heat-translator/translator/tests/test_tosca_hot_translation.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tosca2heat/heat-translator/translator/tests/test_tosca_hot_translation.py b/tosca2heat/heat-translator/translator/tests/test_tosca_hot_translation.py
index 7a89827..3e69d7a 100644
--- a/tosca2heat/heat-translator/translator/tests/test_tosca_hot_translation.py
+++ b/tosca2heat/heat-translator/translator/tests/test_tosca_hot_translation.py
@@ -460,6 +460,12 @@ class ToscaHotTranslationTest(TestCase):
params = {}
self._test_successful_translation(tosca_file, hot_file, params)
+ def test_hot_translate_nfv_vRNC(self):
+ tosca_file = "../tests/data/vRNC/Definitions/vRNC.yaml"
+ hot_file = '../tests/data/hot_output/hot_vRNC.yaml'
+ params = {}
+ self._test_successful_translation(tosca_file, hot_file, params)
+
def test_hot_translate_policy(self):
tosca_file = '../tests/data/tosca_policies.yaml'
hot_file = '../tests/data/hot_output/hot_policies.yaml'