#NEWLINE# def test_export_templatetag( self ) : #NEWLINE# #INDENT# 'Templatetags provided for convenience' #NEWLINE# self . assertEqual ( ttags . getattribute ( self . export , 'model' ) , getattr ( self . export , 'model' ) ) #NEWLINE# d = { #NEWLINE# #INDENT# 'foo' : 'bar' , #NEWLINE# #UNINDENT# } #NEWLINE# self . assertEqual ( ttags . getvalue ( d , 'foo' ) , d . get ( 'foo' ) ) #NEWLINE# column_list = ttags . nice_display ( self . export . column_set ) . split ( ', ' ) #NEWLINE# for c in self . export . column_set . all ( ) : #NEWLINE# #INDENT# self . assertTrue ( ( text_type ( c ) in c ) ) #NEWLINE# #UNINDENT# for ( c , name ) in get_choices ( Export ) : #NEWLINE# #INDENT# e = ttags . getattribute ( self . export , c ) #NEWLINE# ttags . nice_display ( e )