示例#1
0
 def test_undercloud_keystone_client(self):
     client = tripleo.undercloud_keystone_client()
     services = keystone.list_services(client=client)
     self.assertTrue(services)
示例#2
0
 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)
示例#3
0
 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)
示例#4
0
 def test_list_services(self):
     services = keystone.list_services()
     self.assertTrue(services)