def test_undercloud_keystone_client(self): client = tripleo.undercloud_keystone_client() services = keystone.list_services(client=client) self.assertTrue(services)
def test_list_services_by_name(self): services = keystone.list_services(name='keystone') self.assertTrue(services) for s in services: self.assertEqual('keystone', s.name)
def test_list_services_by_type(self): services = keystone.list_services(type='identity') self.assertTrue(services) for s in services: self.assertEqual('identity', s.type)
def test_list_services(self): services = keystone.list_services() self.assertTrue(services)