def METHOD_NAME(buildname):
  #print("buildname = '"+buildname+"'")
  #print("len(buildname) = '"+str(len(buildname))+"'")
  beginIdx = buildname.find("-test-", 0)+6
  #print("beginIdx = '"+str(beginIdx)+"'")
  endIdx = buildname.rfind("-", 0)
  #print("endIdx = '"+str(endIdx)+"'")
  return buildname[beginIdx:endIdx]