def testCatalogsDictionary(self):
    self.assertTrue(hasattr(applesus, 'CATALOGS'))
    self.assertTrue(type(applesus.CATALOGS) is type({}))

    for k in applesus.CATALOGS:
      # Key should be e.g. "10.6"
      self.assertTrue(k.startswith('10.'), 'CATALOGS key strange')
      p = urlparse.urlparse(applesus.CATALOGS[k])
      self.assertEqual(len(p), 6)
      self.assertEqual(p[0], 'https')
      self.assertTrue(p[1].endswith('.apple.com'))
Test global CATALOGS value.
dataset/ETHPy150Open google/simian/src/tests/simian/mac/cron/applesus_test.py/AppleSusModuleTest.testCatalogsDictionary