def render_tag(self, context, result, casestep, varname):
        stepresult_kwargs = dict(
            result=result,
            step=casestep,
            )
        try:
            stepresult = model.StepResult.objects.get(**stepresult_kwargs)
        except model.StepResult.DoesNotExist:
            stepresult = model.StepResult(**stepresult_kwargs)

        context[varname] = stepresult
        return u""
Get/construct StepResult and place it in context under ``varname``
dataset/ETHPy150Open mozilla/moztrap/moztrap/view/runtests/templatetags/execution.py/StepResultFor.render_tag