>Is there some "utils" way to do this. Also, before I go groveling >through the code does anyone have any thoughts on whether this is a >good idea?
That's what I want to do some day for my testing framework. Currently I only do model tests and tests for non-request/response functionality (depending on your project that will get you quite far!). https://simon.bofh.ms/cgi-bin/trac-django-projects.cgi/wiki/DjangoTesting It could be done quite easily by implementing a WSGI host that's just not bound to any server at all, but builds a synthetic WSGI environment for the request. bye, Georg