I want to to test my application's handling of timeouts when grabbing data via urllib2, and I want to have some way to force the request to timeout. 
Short of finding a very very slow internet connection, what method can I use? 
I seem to remember an interesting application/suite for simulating these sorts of things. Maybe someone knows the link?
why not write a very simple CGI script in bash that just sleeps for the required timeout period?
How can I force urllib2 to time out?