From cf4f9e183f0dec14f60f49e267b5d3960f7eaa21 Mon Sep 17 00:00:00 2001 From: Miguel Caballer Date: Thu, 7 Jul 2016 09:38:17 +0200 Subject: [PATCH] Correct the node_with_cap.yaml file. Add the capability_types section to put the tosca.capabilities.SomeCap inside it. Change-Id: I812a9cf0586ab8f5e661c57d31243266f763379d --- toscaparser/tests/data/custom_types/node_with_cap.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/toscaparser/tests/data/custom_types/node_with_cap.yaml b/toscaparser/tests/data/custom_types/node_with_cap.yaml index 11e1b51..b17513f 100644 --- a/toscaparser/tests/data/custom_types/node_with_cap.yaml +++ b/toscaparser/tests/data/custom_types/node_with_cap.yaml @@ -3,7 +3,8 @@ tosca_definitions_version: tosca_simple_yaml_1_0 description: > Node type that has a requirement of a capability with a defined value -node_types: +capability_types: + tosca.capabilities.SomeCap: derived_from: tosca.capabilities.Root properties: @@ -14,6 +15,8 @@ node_types: constraints: - equal: someval +node_types: + tosca.nodes.SomeNode: derived_from: tosca.nodes.Root requirements: