#NEWLINE# def test_action_hooks_header_hook( self ) : #NEWLINE# #INDENT# 'Testing sandboxing HeaderActionHook when\n        action_hooks throws an error' #NEWLINE# SandboxHeaderActionTestHook ( extension = context . extension ) #NEWLINE# context = Context ( { #NEWLINE# #INDENT# 'comment' : 'this is a comment' , #NEWLINE# #UNINDENT# } ) #NEWLINE# t = Template ( '{% load rb_extensions %}{% header_action_hooks %}' ) #NEWLINE# t . render ( context ) . strip ( )