summaryrefslogtreecommitdiffstats
path: root/tosca2heat/tosca-parser/toscaparser/tests/data/test_import_invalid_type.yaml
diff options
context:
space:
mode:
authorShang Xiaodong <shang.xiaodong@zte.com.cn>2018-11-29 01:18:40 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-11-29 01:18:40 +0000
commit3ba8f3a9d7a51b0864f22ef6b2be046fd6466b7d (patch)
tree44a58bc4bdfb162c1b93083baf41a2a2e45a26a1 /tosca2heat/tosca-parser/toscaparser/tests/data/test_import_invalid_type.yaml
parentb89bfac8c2980ac9c68598da19fbe97596e772a8 (diff)
parentfa91717ecc519f5ca5b26456a7f7ab3c77c253ce (diff)
Merge "toscaparser: Avoid exception when creating our own"1.1.1
Diffstat (limited to 'tosca2heat/tosca-parser/toscaparser/tests/data/test_import_invalid_type.yaml')
-rw-r--r--tosca2heat/tosca-parser/toscaparser/tests/data/test_import_invalid_type.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/tosca2heat/tosca-parser/toscaparser/tests/data/test_import_invalid_type.yaml b/tosca2heat/tosca-parser/toscaparser/tests/data/test_import_invalid_type.yaml
new file mode 100644
index 0000000..f2c1876
--- /dev/null
+++ b/tosca2heat/tosca-parser/toscaparser/tests/data/test_import_invalid_type.yaml
@@ -0,0 +1,11 @@
+tosca_definitions_version: tosca_simple_yaml_1_1
+
+imports:
+ - invalid: custom_types/invalid_type.yaml
+
+description: Test to import a template with an invalid type.
+
+topology_template:
+ node_templates:
+ test:
+ type: tosca.nodes.Root