diff --git a/toscaparser/tests/test_properties.py b/toscaparser/tests/test_properties.py index 0ba85560..79af9e23 100644 --- a/toscaparser/tests/test_properties.py +++ b/toscaparser/tests/test_properties.py @@ -285,4 +285,4 @@ class PropertyTest(TestCase): custom_def = yamlparser.simple_parse(tosca_custom_def) name = list(nodetemplates.keys())[0] tpl = NodeTemplate(name, nodetemplates, custom_def) - tpl.validate() + self.assertIsNone(tpl.validate())