Simon Willison’s Weblog

Test stubbing httplib2. Nice demonstration of monkey-patching as part of unit testing in Python.