def test_catalog(self):
     sot = catalog.ServiceCatalogV2(common.TEST_SERVICE_CATALOG_V2)
     self.assertEqual(common.TEST_SERVICE_CATALOG_NORMALIZED, sot.catalog)
 def test_get_urls_name(self):
     sot = catalog.ServiceCatalogV2(common.TEST_SERVICE_CATALOG_V2)
     self.get_urls_name(sot)
Beispiel #3
0
 def __init__(self, **kwargs):
     super(AccessInfoV2, self).__init__(**kwargs)
     self._info.update(version='v2.0')
     service_catalog = self._info['serviceCatalog']
     self.service_catalog = catalog.ServiceCatalogV2(service_catalog)