#NEWLINE# def _render( self , template_code , context_data ) : #NEWLINE# #INDENT# '\n        Render a template\n        ' #NEWLINE# template = Template ( template_code ) #NEWLINE# context = Context ( context_data ) #NEWLINE# context [ 'request' ] = self . dummy_request #NEWLINE# return template . render ( context )