AssertionError: No api proxy found for service "urlfetch"
See http://mcjeff.blogspot.com/2010/01/unit-tests-with-app-engine.html
from google.appengine.api import apiproxy_stub_map
from google.appengine.api import urlfetch_stub
# Create a stub map so we can build App Engine mock stubs.
apiproxy_stub_map.apiproxy = apiproxy_stub_map.APIProxyStubMap()
# Register App Engine mock stubs.
apiproxy_stub_map.apiproxy.RegisterStub(
'urlfetch', urlfetch_stub.URLFetchServiceStub())
