示例#1
0
文件: stubs.py 项目: tantalor/emend
def all():
    if env.server_software():
        return
    from google.appengine.tools import dev_appserver_main, dev_appserver

    dev_appserver.SetupStubs("emend", **dev_appserver_main.DEFAULT_ARGS)
示例#2
0
文件: stubs.py 项目: tantalor/emend
def urlfetch():
    if env.server_software():
        return
    apiproxy_stub_map.apiproxy = apiproxy_stub_map.APIProxyStubMap()
    apiproxy_stub_map.apiproxy.RegisterStub("urlfetch", urlfetch_stub.URLFetchServiceStub())
示例#3
0
文件: stubs.py 项目: tantalor/emend
def memcache():
    if env.server_software():
        return
    apiproxy_stub_map.apiproxy.RegisterStub("memcache", memcache_stub.MemcacheServiceStub())