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 14116,TestClient skips Csrf Middleware,jon@…,nobody,"The following code is found in TestClient {{{ try: request = WSGIRequest(environ) # sneaky little hack so that we can easily get round # CsrfViewMiddleware. This makes life easier, and is probably # required for backwards compatibility with external tests against # admin views. request._dont_enforce_csrf_checks = True response = self.get_response(request) }}} While this is nice, it makes the test behave in a way that does not really verify the site works. Some of my views are run when accessed from a desktop program, and the desktop program does not send a CSRF token, resulting in a 403 Forbidden error, but does not happen when a test is run because of the above code. Can we get an option to turn this off? Thanks.",,closed,Testing framework,1.2,,fixed,TestClient,,Accepted,0,0,0,0,0,0