summaryrefslogtreecommitdiffstats
path: root/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/data/datatypes/test_custom_datatypes_value_error.yaml
blob: 31cf681e25e132082295bc69274e86c78019ddf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
tosca_definitions_version: tosca_simple_yaml_1_0

description: >
  TOSCA templates used to test custom datatypes.

imports:
  - custom_datatype_def.yaml

topology_template:
  node_templates:
    # addresses is not a map
    error in field value:
      type: tosca.nodes.my.SomeNode
      properties:
        people:
          name: Mike
          gender: male
          addresses: [1 foo street, 9 bar avenue]