From d59d5fadc2ac8989eb5577618cc93e71861c4b8a Mon Sep 17 00:00:00 2001 From: shangxdy Date: Tue, 23 Aug 2016 16:20:54 +0800 Subject: 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 (cherry picked from commit 9f460d7068d86dc1320e858ab1d756c88283e6f6) --- .../heat-translator/translator/tests/test_tosca_hot_translation.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tosca2heat/heat-translator/translator/tests/test_tosca_hot_translation.py') 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' -- cgit 1.2.3-korg