id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 5296,[patch] Additions to TestCase for easy view testing,Chris H. ,Adrian Holovaty,"At work we frequently have testing idioms likes this: def test_x(self): ...do database stuff... response = self.client.get('/some/url/') check the response status code check the response template check the response content check the response content_type I'm attaching a patch, with tests, that adds a ""check_view"" method to TestCase that wraps up the common idiom of checking the status code, the template, the content and the content_type. In my mind it's somewhat analogous to render_to_response -- it's a shortcut for a common idiom, and it doesn't prevent you from doing more complex/interesting testing with the other assertX methods.",,closed,Testing framework,dev,,wontfix,view client unit testing,,Unreviewed,1,1,0,0,0,0