#NEWLINE# def test_per_ttag_auto_preview_override( self ) : #NEWLINE# #INDENT# if self . auto_preview_override : #NEWLINE# #INDENT# arg = 'auto_preview' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# arg = 'no_auto_preview' #NEWLINE# #UNINDENT# template = ( '{%% load markitup_tags %%}{%% markitup_editor "my_id" "%s" %%}' % ( arg , ) ) #NEWLINE# self . assertIn ( AutoPreviewSettingTests . look_for , self . render ( template ) , reverse = ( not self . auto_preview_override ) )