(self, template="foo", *args, **kwargs)
| 261 | factory = RequestFactory() |
| 262 | |
| 263 | def _response(self, template="foo", *args, **kwargs): |
| 264 | self._request = self.factory.get("/") |
| 265 | template = engines["django"].from_string(template) |
| 266 | return TemplateResponse(self._request, template, *args, **kwargs) |
| 267 | |
| 268 | def test_render(self): |
| 269 | response = self._response("{{ foo }}{{ processors }}").render() |
no test coverage detected