#NEWLINE# def test_imports_without_templates( self ) : #NEWLINE# #INDENT# tpl_snippet = '\n        imports:\n          # omitted here for brevity\n        ' #NEWLINE# path = 'toscaparser/tests/data/tosca_elk.yaml' #NEWLINE# errormsg = _ ( '"imports" keyname is defined without including templates.' ) #NEWLINE# err = self . assertRaises ( exception . ValidationError , self . _imports_content_test , tpl_snippet , path , 'node_types' ) #NEWLINE# self . assertEqual ( errormsg , err . __str__ ( ) )