diff options
author | julien zhang <zhang.jun3g@zte.com.cn> | 2017-09-01 07:11:47 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-09-01 07:11:47 +0000 |
commit | 6eac11f48f8b664af928620bf2661987aa318725 (patch) | |
tree | 039a964682e0d53556ab5d8323aaedc247db22fc /tosca2heat/tosca-parser/toscaparser/tests/test_toscatpl.py | |
parent | 7407c6c4cb09a80ec35a48716d4436ff98aba23f (diff) | |
parent | 726292f65a8e7df9eb7faa4614d77a049218f665 (diff) |
Merge "Add import file with suffix of yml testcases"
Diffstat (limited to 'tosca2heat/tosca-parser/toscaparser/tests/test_toscatpl.py')
-rw-r--r-- | tosca2heat/tosca-parser/toscaparser/tests/test_toscatpl.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tosca2heat/tosca-parser/toscaparser/tests/test_toscatpl.py b/tosca2heat/tosca-parser/toscaparser/tests/test_toscatpl.py index af35cfb..69dfb46 100644 --- a/tosca2heat/tosca-parser/toscaparser/tests/test_toscatpl.py +++ b/tosca2heat/tosca-parser/toscaparser/tests/test_toscatpl.py @@ -216,6 +216,10 @@ class ToscaTemplateTest(TestCase): tosca_tpl = self._load_template('test_no_outputs_in_template.yaml') self.assertEqual(0, len(tosca_tpl.outputs)) + def test_template_file_with_suffix_yml(self): + tosca_tpl = self._load_template('custom_types/wordpress.yml') + self.assertIsNotNone(tosca_tpl) + def test_relationship_interface(self): template = ToscaTemplate(self.tosca_elk_tpl) for node_tpl in template.nodetemplates: |