#NEWLINE# def result_for( self , result , step , render ) : #NEWLINE# #INDENT# 'Execute template tag with given args and render given string.' #NEWLINE# t = Template ( ( '{% load execution %}{% stepresult_for result step as stepresult %}' + render ) ) #NEWLINE# return t . render ( Context ( { #NEWLINE# #INDENT# 'result' : result , #NEWLINE# 'step' : step , #NEWLINE# #UNINDENT# } ) )