def _CreateSuiteDescriptionDict(suites):
  """Gets a dict of test suite names to descriptions."""
  # Because of the way that descriptions are specified, all of the test suites
  # for different bots should have te same description. We only need to get
  # description from one entity for each test suite name.
  results = {}
  for suite in suites:
    name = suite.key.string_id()
    if name in results:
      continue
    if suite.description:
      results[name] = suite.description
  return results