#NEWLINE# def test_include_tag_missing_context( self ) : #NEWLINE# #INDENT# msg = "'inclusion_tag_without_context_parameter' is decorated with takes_context=True so it must have a first argument of 'context'" #NEWLINE# with self . assertRaisesMessage ( TemplateSyntaxError , msg ) : #NEWLINE# #INDENT# self . engine . from_string ( '{% load inclusion %}{% inclusion_tag_without_context_parameter 123 %}' )