I\'m about to embark on some large Python-based App Engine projects, and I think I should check with Stack Overflow\'s \"wisdom of crowds\" before committing to a unit-testing s
You don't need to write your own stubs - the SDK includes them, since they're what it uses to emulate the production APIs. Not all of them are suitable for use in unit-tests, but most are. Check out this code for an example of the setup/teardown code you need to make use of the built in stubs.