#NEWLINE# def test_inclusion_tag( self ) : #NEWLINE# #INDENT# class Inc ( helpers . InclusionTag ) : #NEWLINE# #INDENT# template = 'test.html' #NEWLINE# options = core . Options ( arguments . Argument ( 'var' ) ) #NEWLINE# def get_context( self , context , var ) : #NEWLINE# #INDENT# return { #NEWLINE# #INDENT# 'var' : var , #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# #UNINDENT# templates = [ ( '{% inc var %}' , 'inc' , { #NEWLINE# #INDENT# 'var' : 'inc' , #NEWLINE# #UNINDENT# } ) ] #NEWLINE# self . _tag_tester ( Inc , templates ) #NEWLINE# class Inc2 ( helpers . InclusionTag ) : #NEWLINE# #INDENT# template = 'test.html' #NEWLINE# #UNINDENT# templates = [ ( '{% inc2 %}' , '' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) ] #NEWLINE# self . _tag_tester ( Inc2 , templates )