An instrumented Template render method, providing a signal that can be intercepted by the test Client.
(self, context)
| 105 | |
| 106 | |
| 107 | def instrumented_test_render(self, context): |
| 108 | """ |
| 109 | An instrumented Template render method, providing a signal that can be |
| 110 | intercepted by the test Client. |
| 111 | """ |
| 112 | template_rendered.send(sender=self, template=self, context=context) |
| 113 | return self.nodelist.render(context) |
| 114 | |
| 115 | |
| 116 | class _TestState: |