def _StubWSGIUtils(output_app_holder):
  stubs = _StubOut()
  stubbed_wsgi_handler_class = (
      lambda * args, **kwargs: _MockedWsgiHandler(output_app_holder))

  def RunWSGIStub(application):
    output_app_holder.append(application)

  stubs.Set(webapp_util, 'run_bare_wsgi_app', RunWSGIStub)
  stubs.Set(webapp_util, 'run_wsgi_app', RunWSGIStub)



  stubs.Set(handlers, 'BaseHandler', stubbed_wsgi_handler_class)
  stubs.Set(handlers, 'SimpleHandler', stubbed_wsgi_handler_class)
  stubs.Set(handlers, 'BaseCGIHandler', stubbed_wsgi_handler_class)
  stubs.Set(handlers, 'CGIHandler', stubbed_wsgi_handler_class)


  return stubs.CleanUp
Like many_until but must consume at least one of these.
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/ext/vmruntime/meta_app.py/_StubWSGIUtils--crossover with--dataset/ETHPy150Open brehaut/picoparse/picoparse/__init__.py/many_until1