# HG changeset patch # User Augie Fackler # Date 1233029397 0 # Node ID ae1a36ef7cff22500389edf61f03dbd08c6310b1 # Parent 3b66772d21a5a093bb8162b35d72a8adcb68d9ba Fix testing views, which broke because now we need to register a proxy for the memcache API as well. Patch By: Augie Fackler Review By: TBR diff -r 3b66772d21a5 -r ae1a36ef7cff tests/run.py --- a/tests/run.py Mon Jan 26 23:32:10 2009 +0000 +++ b/tests/run.py Tue Jan 27 04:09:57 2009 +0000 @@ -47,6 +47,7 @@ from google.appengine.api import mail_stub from google.appengine.api import user_service_stub from google.appengine.api import urlfetch_stub + from google.appengine.api.memcache import memcache_stub apiproxy_stub_map.apiproxy = apiproxy_stub_map.APIProxyStubMap() apiproxy_stub_map.apiproxy.RegisterStub('urlfetch', urlfetch_stub.URLFetchServiceStub()) @@ -54,6 +55,8 @@ user_service_stub.UserServiceStub()) apiproxy_stub_map.apiproxy.RegisterStub('datastore', datastore_file_stub.DatastoreFileStub('your_app_id', None, None)) + apiproxy_stub_map.apiproxy.RegisterStub('memcache', + memcache_stub.MemcacheServiceStub()) apiproxy_stub_map.apiproxy.RegisterStub('mail', mail_stub.MailServiceStub()) import django.test.utils django.test.utils.setup_test_environment()