diff options
author | Lianhao Lu <lianhao.lu@intel.com> | 2018-11-19 16:28:05 +0800 |
---|---|---|
committer | Lianhao Lu <lianhao.lu@intel.com> | 2018-11-28 12:36:45 +0800 |
commit | fa91717ecc519f5ca5b26456a7f7ab3c77c253ce (patch) | |
tree | e9fdc1be9566b30df1c07f78ec84a2922db1111c /tosca2heat/tosca-parser/toscaparser/tests/data/custom_types/invalid_type.yaml | |
parent | 26fc7a76a06c83eae2a75a262953b3d8d9bb00b3 (diff) |
toscaparser: Avoid exception when creating our own
Fixed the bug that new exception is thrown when we're creating our own
exceptions.
JIRA: PARSER-187
Change-Id: If4c445eb9b5c6ff26d40cf6b3fa7f19cd31fd425
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Diffstat (limited to 'tosca2heat/tosca-parser/toscaparser/tests/data/custom_types/invalid_type.yaml')
-rw-r--r-- | tosca2heat/tosca-parser/toscaparser/tests/data/custom_types/invalid_type.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tosca2heat/tosca-parser/toscaparser/tests/data/custom_types/invalid_type.yaml b/tosca2heat/tosca-parser/toscaparser/tests/data/custom_types/invalid_type.yaml new file mode 100644 index 0000000..4d3a0b0 --- /dev/null +++ b/tosca2heat/tosca-parser/toscaparser/tests/data/custom_types/invalid_type.yaml @@ -0,0 +1,8 @@ +tosca_definitions_version: tosca_simple_yaml_1_1 + +annotation_types: + org.openecomp.annotations.Source: + description: Indicates the origin source of an input + properties: + source_type: + type: string |