User assert in test
User assertion in unit test. Change-Id: I50543bbe620b58575865e20cdde2a4851664daf9
This commit is contained in:
parent
8f6e94eeb8
commit
2ba0bd9739
@ -285,4 +285,4 @@ class PropertyTest(TestCase):
|
|||||||
custom_def = yamlparser.simple_parse(tosca_custom_def)
|
custom_def = yamlparser.simple_parse(tosca_custom_def)
|
||||||
name = list(nodetemplates.keys())[0]
|
name = list(nodetemplates.keys())[0]
|
||||||
tpl = NodeTemplate(name, nodetemplates, custom_def)
|
tpl = NodeTemplate(name, nodetemplates, custom_def)
|
||||||
tpl.validate()
|
self.assertIsNone(tpl.validate())
|
||||||
|
Loading…
Reference in New Issue
Block a user