def AppIdWithDefaultPartition(app_id, default_partition):
  if not default_partition:
    return app_id



  if '~' in app_id:
    return app_id

  return default_partition + '~' + app_id
Setup method
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/dev_appserver.py/AppIdWithDefaultPartition--crossover with--dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/test_admin_change_password.py/TestChangePassword.setup_method