def render_to_response(self, *args, **kwargs):
        response = super(DiffViewerView, self).render_to_response(*args,
                                                                  **kwargs)
        response.set_cookie('collapsediffs', self.collapse_diffs)

        return response
Verify that L{detach} informs the client of the event and returns a
dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/diffviewer/views.py/DiffViewerView.render_to_response--crossover with--dataset/ETHPy150Open twisted/nevow/nevow/test/test_athena.py/LiveMixinTestsMixin.test_detach