def process_args():
  sdk_path = os.path.join(TESTS_DIR, '..', '..', 'google_appengine')
  for possible_path in POSSIBLE_SDK_PATHS:
    if os.path.exists(os.path.join(possible_path, 'dev_appserver.py')):
      sdk_path = possible_path
      break
  if not os.path.exists(os.path.join(sdk_path, 'dev_appserver.py')):
    sys.stderr.write('Could not find google_appengine SDK path')
    sys.exit(1)
  setup_test_env(sdk_path)
Scans for a path to dev_appserver in sys.argv and pops it.
dataset/ETHPy150Open rietveld-codereview/rietveld/tests/setup.py/process_args