def _GetAppId(request):
  if request.has_app_id():
    return request.app_id()
  else:
    return None
Importing C{testmethod} emits a deprecation warning.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/taskqueue/taskqueue_stub.py/_GetAppId--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/internet/test/test_interfaces.py/TestIFinishableConsumer.lookForDeprecationWarning