def _GetSharksMaproot(host):
  """Creates a maproot dictionary for a Sharks map with KML layer.

  Layer KML file is served locally by testbackend handler. This is to avoid any
  external web requests in tests.

  Args:
    host: CrisisMap host name with port
  Returns:
    Maproot dictionary
  """
  return {
      'id': 'id2015030311642',
      'title': 'Sharks tests',
      'layers': [{
          'title': 'Sharks',
          'source': {
              'kml': {
                  'url': ('http://%s/testbackend?service=file'
                          '&filename=sharks.kml' % host)
              }
          },
          'type': 'KML',
          'id': 'layer0'

      }],
      'topics': [{
          'title': 'Sharks',
          'id': 'sharks-topic',
          'layer_ids': ['layer0'],

      }]
  }