diff options
author | shangxdy <shang.xiaodong@zte.com.cn> | 2016-08-23 16:20:54 +0800 |
---|---|---|
committer | xiaodong shang <shang.xiaodong@zte.com.cn> | 2016-09-07 16:09:23 +0000 |
commit | d59d5fadc2ac8989eb5577618cc93e71861c4b8a (patch) | |
tree | a18bb790d5a25dea8246216251428404af2e9167 /tosca2heat/heat-translator/translator/tests/test_tosca_hot_translation.py | |
parent | e0424a2f526c6a4f20938c95083e08335d864785 (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>
(cherry picked from commit 9f460d7068d86dc1320e858ab1d756c88283e6f6)
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' |