Esempio n. 1
0
 def _check_catalog(self, migration):
     catalog_lines = migration.dump_catalog()
     catalog = catalog_templated.parse_templates(catalog_lines)
     self.assert_('RegionOne' in catalog)
     self.assert_('compute' in catalog['RegionOne'])
     self.assert_('adminURL' in catalog['RegionOne']['compute'])
Esempio n. 2
0
 def _check_catalog(self, migration):
     catalog_lines = migration.dump_catalog()
     catalog = catalog_templated.parse_templates(catalog_lines)
     self.assert_("RegionOne" in catalog)
     self.assert_("compute" in catalog["RegionOne"])
     self.assert_("adminURL" in catalog["RegionOne"]["compute"])