#NEWLINE# @ override_settings ( DEBUG = True ) #NEWLINE# def test_templatetag_fails_loud( self ) : #NEWLINE# #INDENT# tpl = '{% load sitemessage %}{% sitemessage_prefs_table from user_prefs %}' #NEWLINE# context = { #NEWLINE# #INDENT# 'user_prefs' : 'a' , #NEWLINE# #UNINDENT# } #NEWLINE# self . assertRaises ( SiteMessageConfigurationError , self . render_template , tpl , tpl ) #NEWLINE# tpl = '{% load sitemessage %}{% sitemessage_prefs_table user_prefs %}' #NEWLINE# self . assertRaises ( TemplateSyntaxError , self . render_template , tpl )