Commits

Takashi Matsuo  committed bd58c63

Ignore NameError.

  • Participants
  • Parent commits 5c5a344

Comments (0)

Files changed (1)

File kay/ext/testutils/gae_test_base.py

     _apiproxy.RegisterStub('mail', mail_stub.MailServiceStub()) 
     _apiproxy.RegisterStub('memcache', memcache_stub.MemcacheServiceStub()) 
     _apiproxy.RegisterStub('taskqueue', taskqueue_stub.TaskQueueServiceStub()) 
-    _apiproxy.RegisterStub('images', images_stub.ImagesServiceStub())
+    try:
+      _apiproxy.RegisterStub('images', images_stub.ImagesServiceStub())
+    except NameError:
+      pass
 
     return _apiproxy