project_name='project'),
service_type='image')
- def test_get_endpoint_with_different_interface(self):
+ def test_get_endpoint_with_each_interface(self):
"""
- Tests to ensure that different endpoint urls are obtained with
+ Tests to ensure that endpoint urls are obtained with
'public', 'internal' and 'admin' interface
"""
endpoint_public = keystone_utils.get_endpoint(self.os_creds,
endpoint_admin = keystone_utils.get_endpoint(self.os_creds,
service_type='image',
interface='admin')
- self.assertNotEqual(endpoint_public, endpoint_internal)
- self.assertNotEqual(endpoint_public, endpoint_admin)
- self.assertEqual(endpoint_admin, endpoint_internal)
+ self.assertIsNotNone(endpoint_public)
+ self.assertIsNotNone(endpoint_internal)
+ self.assertIsNotNone(endpoint_admin)
def test_grant_user_role_to_project(self):
"""