def on_template_response(self, context, **kwargs):
        request = kwargs.setdefault("request", RequestFactory().get("/"))

        res = TemplateResponse(request, "some/template.html", context)

        return self.on_response(res, **kwargs)
reload
dataset/ETHPy150Open mozilla/moztrap/tests/view/lists/test_sort.py/SortDecoratorTest.on_template_response--crossover with--dataset/ETHPy150Open circus-tent/circus/circus/watcher.py/Watcher._reload