diff options
author | shangxdy <shang.xiaodong@zte.com.cn> | 2016-08-23 16:20:54 +0800 |
---|---|---|
committer | shangxdy <shang.xiaodong@zte.com.cn> | 2016-09-07 16:59:38 +0800 |
commit | 9f460d7068d86dc1320e858ab1d756c88283e6f6 (patch) | |
tree | eaeddd34103f03d853c9d1e12190fd4e4e213fa6 /tosca2heat/heat-translator/translator/tests/test_tosca_hot_translation.py | |
parent | b284ccc46a966ce1f8a6e59363904d69bb8d081e (diff) |
Create translation test code for vRNC
Create translation test code from tosca to hot about vRNC definition.
JIRA:PARSER-50
Change-Id: I04d5e776b40a856f95548f5d751aeb51220856eb
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
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.py | 6 |
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' |