diff options
author | shangxdy <shang.xiaodong@zte.com.cn> | 2017-07-13 19:01:08 +0800 |
---|---|---|
committer | shangxdy <shang.xiaodong@zte.com.cn> | 2017-07-13 19:01:08 +0800 |
commit | 11b868ee612861bbd0d0ded3b3c2dd43cee5dacc (patch) | |
tree | 24bbea88997e4d39bad677dd56c1da1f64380804 /tosca2heat/tosca-parser/toscaparser/tests/test_toscatpl.py | |
parent | 5b3f19f30ff02faa80ad02762ae23ad020b04218 (diff) |
Add more test for nested import list
Currently the test about nested import list is not enough, the patch
enhance the test.
Change-Id: Ica25345062d316b9a32f4efb8c5c2a98b8bda497
JIRA: PARSER-127
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
Diffstat (limited to 'tosca2heat/tosca-parser/toscaparser/tests/test_toscatpl.py')
-rw-r--r-- | tosca2heat/tosca-parser/toscaparser/tests/test_toscatpl.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tosca2heat/tosca-parser/toscaparser/tests/test_toscatpl.py b/tosca2heat/tosca-parser/toscaparser/tests/test_toscatpl.py index 77232df..c89f867 100644 --- a/tosca2heat/tosca-parser/toscaparser/tests/test_toscatpl.py +++ b/tosca2heat/tosca-parser/toscaparser/tests/test_toscatpl.py @@ -510,7 +510,8 @@ class ToscaTemplateTest(TestCase): os.path.dirname(os.path.abspath(__file__)), "data/test_instance_nested_imports.yaml") tosca = ToscaTemplate(tosca_tpl) - expected_custom_types = ['tosca.nodes.WebApplication.WordPress', + expected_custom_types = ['tosca.nodes.SoftwareComponent.Kibana', + 'tosca.nodes.WebApplication.WordPress', 'test_namespace_prefix.Rsyslog', 'Test2ndRsyslogType', 'test_2nd_namespace_prefix.Rsyslog', |